PDA

View Full Version : Vista and Virtual Address Space


Rugula
11-09-2009, 07:30 PM
Windows Vista has had from day 1 an issue with memory and game development regardless of the amount of PC Ram you have. If you have Vista and a graphics card with at least 256MB of RAM, there is an issue where applications couldn't reach into the virtual address space as easily therefore causing Out of Virtual Memory errors.

Please see the following Microsoft link:

http://support.microsoft.com/kb/940105

Service Pack 1 for Vista fixed these issues. Service Pack 1 is not a critical update, therefore, it does not install or download automatically, and it doesn't appear in your list of available updates. You must manually install Service Pack 1:

http://www.microsoft.com/downloads/details.aspx?FamilyId=B0C7136D-5EBB-413B-89C9-CB3D06D12674&displaylang=en

Download that, install it, reboot, and you should no longer receive out of virtual memory errors.

Jemal
11-09-2009, 11:33 PM
What do you have your "Page File" set at?

To get there... Start Button >> Computer >> R Click Hard Drive >> Properties >> Advanced system settings (On the left bottom of 4 on top) >> Click settings in Performance (Top choice in Advanced tab) >> Advanced Tab again >> At the bottom is "Virtual Memory".

What is that set to?

I'd recommend x2 of what you have in RAM. This is used if your RAM is full and it needs to store more info on the hard drive temporaily.

To change, If still at this window. Click "change" in Virtual Memory >> click Custom Size. Make Inital size and Maximum size x2 of RAM.

So...

Vista - Open start menu >> Type calc >> Press enter.

XP - Open start menu >> Go to Run >> Type Calc >> Press enter.

From here...
Take 1024 times it by how much GB of Ram you have. Enter that number in both areas.

If you don't know know how much RAM you have...

Vista - Open start menu >> Type Dxdiag >> Press enter >> Press Yes (if needed) >> It's on the first page that shows as "Memory".

Note: its in MB not GB. Times that number by 2 and you'll have the same result (e.g. 2048 x 2 = 4098)

XP - Open start menu >> Go to Run >> Type Calc >> Press enter >> Press Yes (if needed) >> It's on the first page that shows as "Memory".

Note: its in MB not GB. Times that number by 2 and you'll have the same result (e.g. 2048 x 2 = 4098)

Post here again if you have any further questions.l

Jemal