How To: Handle Virtual Memory Errors

Wed Jun 14, 2006 5:46PM EDT

See Comments (1)

A reader asks: What can I do about low virtual memory?

Virtual memory is a lot like what it sounds: It's auxiliary storage that resides on your hard disk, and your OS uses it when your RAM gets too full.

Virtual memory, because it requires access to magnetic storage, is slow. It can often be buggy, too, and crashes become more likely as virtual memory begins to be used. If you're actually filling up your virtual memory space, you've got problems. Here's how I recommend dealing with it.

  • First, add RAM if you can. The best way to avoid using too much virtual memory is to use none at all. Adding RAM will speed up your system and keep virtual memory usage at a minimum.
  • Increase the size of the paging file. The paging file is the name of the file that Windows uses for virtual memory. If you're overflowing your paging file, making it bigger can help. Click Control Panel > System > Advanced. Under Performance, click Settings. Click Advanced again, then click Change. You'll see two numbers that you can change (Initial size and Maximum size). Double them both. You can experiment with these figures until you no longer get virtual memory error messages.
  • Clean up your hard drive. You may be getting error messages because your hard drive is getting full. Clean it up by running Disk Cleanup (Start > All Programs > Accessories > System Tools), then run Disk Defragmenter (directly below Disk Cleanup in the same menu).
  • Reboot. The longer your system runs, the more cluttered the memory space gets, both RAM and virtual. Rebooting your system frequently clears this out and lets you start fresh. I wouldn't go more than three or four days without a reboot, and even that's a stretch. 

For more on how virtual memory works, Howstuffworks has an excellent technical primer.

Comments on How To: Handle Virtual Memory Errors

Post a Comment

Join in the discussion. Here you'll see the comments in the order they were posted.

  • 1 Posted by carpe_jugulum_qed on Thu Sep 3, 2009 3:18PM EDT Report Abuse

    LOL the reason I read the article was to find a solution other then rebooting. (which does work)

More Posts: 1

Post a Comment


My Tech

Please enable your browser's cookies to activate the My Tech column.

Also on Yahoo! Tech

Computers Home Office Wi-Fi & Networking Phones & PDAs Cameras & Camcorders TV & Home Theater Portable Audio
 

Question and Answer content at Yahoo! Tech is written by Yahoo! users at Yahoo! Answers. Yahoo! does not evaluate or guarantee the accuracy of any Yahoo! Answers content. For more information, read the Full Disclaimer.

Opinions expressed by the Advisors are their own and do not necessarily reflect the views of Yahoo! Inc. Yahoo! receives no compensation from any manufacturer or distributor nor does it compensate any Advisor for the coverage of any product or service in any Advisor's content.