Friday, April 24, 2009

Paged Pool Memory error

If you having OS Paged Pool Memory error when playing games, you can try the following techniques.

Get more RAM.
Update your game may fix occasional.
Close some background processes using Task Manager.
Increase the game heapsize.
1. Add any one of these into your Game Parameters.
512MB System Memory: -heapsize 262144
1GB System Memory: -heapsize 524288
2GB System Memory: -heapsize 1048576
3GB System Memory: -heapsize 1572864
4GB System Memory crash steam: use 3GB setting.

Reduce some quality settings in Left 4 Dead such as sound, paged pool memory available.

Registry Tweak (Make sure you at least pass the minimum requirement for safety purpose)
1. Open Registry Editor by clicking Start > Run (Keyboard Flag + R) > Type in regedit in the box and press OK.
2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
3. Double click on PagedPoolSize and change the Value Data to one of these below. Hint: Recommend choose half of your RAM or below. However, more than 1GB is not recommended.

Megabytes Hexadecimal Decimal
192MB 0c000000 201326592
256MB 10000000 268435456
384MB 18000000 402653184
512MB 20000000 536870912
1024MB 40000000 1073741824
1536MB 60000000 1610612736
2048MB 80000000 2147483648


Use a good Memory Clean Up Tool
I recommend using MKN Memory Monitor and CleanMem. MKN Memory Monitor and CleanMem are most likely using the same good technique. Some Memory clean up tools might impact your computer's performance for a while due to bad cleaning method, such as TuneUp Memory Optimizer. PC WinTech explained why and how... So I make it shorter.

There's 2 methods Memory clean up tools clean the memory.
http://msdn.microsoft.com/en-us/library/ms682606(VS.85).aspx
EmptyWorkingSet Function
Removes as many pages as possible from the working set of the specified process.
http://msdn.microsoft.com/en-us/library/ms686234(VS.85).aspx
SetProcessWorkingSetSize Function
Sets the minimum and maximum working set sizes for the specified process.

CleanMem and MKN Memory Monitor are using the EmptyWorkingSet which is good. As the remove unnecessary memory that a program no longer using anymore. SetProcessWorkingSetSize force transfer memory from RAM to Page File. This may increase the CPU load when they forcing transfer memory from RAM to pagefile.sys in your Harddrive.


Increase Paging File
If you persist to have this problem, increase your paging file size.
1. Right click My Computer and select Properties.
2. A window will pop up. Click the Advanced tab and then click Settings button under the Performance section.
3. Another window will pop up. Click the Advanced tab and click Change button under Virtual Memory section.
4. Simply, select any drive (It's best you choose other drive than Windows drive), click the Custom Size radio button.
5. Initial size, put in the minimum allowed value which can be found on the section.
6. Maximum size, put any number below your hard drive remaining free space. If you don't know what to put, you can try following drives' setting that already have paging file.
7. Click the Set button! Or else you have to set things again.
8. Click OK when done, then OK, and OK again.
9. Restart computer to take effects.

No comments: