It's all about the answers!

Ask a question

How can I reset the AllocationPreference?


Danny Müller (117616) | asked Nov 14 '16, 7:49 a.m.
Hello,

due to a PMR we set the AllocationPreference in HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management\ to 0x100000 which causes the memory to populate top down.

As we need to be prepared for switching the setting off if it turns out that this is a root cause performance issues on some machines I wonder what setting will switch the MEM_TOP_DOWN off.
Would 0x0 work?

best regards
Danny

Accepted answer


permanent link
Donald Nong (14.3k213) | answered Nov 14 '16, 7:06 p.m.
edited Nov 14 '16, 7:06 p.m.
As the registry key is not there by default. The right (or safest) approach to switch MEM_TOP_DOWN off should be removing the key AllocationPreference completely.
https://msdn.microsoft.com/en-us/library/windows/desktop/bb613473%28v=vs.85%29.aspx
Danny Müller selected this answer as the correct answer

Your answer


Register or to post your answer.