{"id":255,"date":"2011-01-05T09:53:29","date_gmt":"2011-01-05T15:53:29","guid":{"rendered":"http:\/\/www.goodjobsucking.com\/?p=255"},"modified":"2011-01-05T09:53:29","modified_gmt":"2011-01-05T15:53:29","slug":"l4d2-os-paged-pool-memory-low-on-xp","status":"publish","type":"post","link":"http:\/\/www.goodjobsucking.com\/?p=255","title":{"rendered":"L4D2 OS Paged Pool Memory Low on XP"},"content":{"rendered":"<p>From Steam, I installed and played Left for Dead 2 (L4D2) for a few hours without any problems.\u00a0 After rebooting after an update, the warning &#8220;OS Paged Pool Memory Low&#8221; in red appeared in the game, followed shortly by bizarre visuals, halting sound, jerky game play, and ultimately, a lockup or crash.\u00a0 A few days later (and after rebooting) I tried it again, and it was fine.\u00a0 Until I rebooted &#8230;<\/p>\n<p>It seemed that pawing at it like a confused monkey was not solving my problem, so I consulted the Internet, which recommended a curious mixture of unrelated voodoo and homeopathic remedies, and <a href=\"https:\/\/support.steampowered.com\/kb_article.php?ref=5034-EIPV-6426\">Steam themselves has a page<\/a> that mumbles incoherently about drivers and suggests removing parameters that nobody has.\u00a0 Those few people who have had, and solved this problem, appear to have tried hundreds of things all at once and were clueless as to what fixed the issue.<\/p>\n<p>While making sure drivers are up-to-date is rarely bad advice, it&#8217;s unlikely to actually fix anything unless your current drivers happen to be buggy.<\/p>\n<p>So, what&#8217;s happening, and how does one fix it?<\/p>\n<p>XP has two memory pools, paged and non-paged, and without going into too much technical detail, paged memory can use disk space to expand its total pool (&#8220;virtual memory.&#8221;)\u00a0 XP uses heuristics at boot time to determine how much memory to dedicate to the non-paged and paged pools.<\/p>\n<p>Specifically, XP calculates a limit for the paged pool based on how much address space that other resources, like page table entries, want.\u00a0 With a lot of RAM and a reasonable amount of swap, XP can still apparently get it wrong.\u00a0 On the plus side, it can be tweaked manually to solve the issue.<\/p>\n<pre>HKEY_LOCAL_MACHINE\\SYSTEM\\\ufeffCurrentControlSet\\Control\\Session Manager\\Memory Management\r\n<\/pre>\n<p>in the registry has all kinds of nifty knobs, and the most important one is &#8220;PagedPoolSize.&#8221;<\/p>\n<p>Note:\u00a0 before doing this, make sure you have a reasonable amount of physical ram and that virtual memory (My Computer-&gt;Properties-&gt;Advanced-&gt;Performance-&gt;Virtual Memory) is set either to automatic, or at least a gig or two or twice physical ram size.<\/p>\n<p>PagedPoolSize is almost undoubtedly set to &#8220;0,&#8221; which means XP will automatically determine the limits.\u00a0 Setting this to &#8220;0xFFFFFFFF&#8221; means &#8220;set this as high as possible,&#8221; which is a dynamic value, but based on your amount of physical RAM rather than every other knob in the system.\u00a0 As a troubleshooting step, it&#8217;s reasonable to start here &#8212; reboot, then try out L4D2.<\/p>\n<p>If it works, you can back this number down a bit:\u00a0 some testing has shown that 256M is sufficient to play without problems (&#8220;0x10000000&#8221; hex, or &#8220;268435456&#8221; decimal) but your mileage may vary.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From Steam, I installed and played Left for Dead 2 (L4D2) for a few hours without any problems.\u00a0 After rebooting after an update, the warning &#8220;OS Paged Pool Memory Low&#8221; in red appeared in the game, followed shortly by bizarre visuals, halting sound, jerky game play, and ultimately, a lockup \u2026 <a class=\"continue-reading-link\" href=\"http:\/\/www.goodjobsucking.com\/?p=255\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[133,134,83],"_links":{"self":[{"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts\/255"}],"collection":[{"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=255"}],"version-history":[{"count":2,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts\/255\/revisions"}],"predecessor-version":[{"id":257,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts\/255\/revisions\/257"}],"wp:attachment":[{"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=255"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}