How can I fix "too little virtual memory" in Windows?
Dave, help! My PC keeps on hanging in every interval. It shows an error that "your system is running with too little virtual memory". What troubleshooting can I do and what fix can I apply to make my PC run without any obstacles?
I'm going to assume you're running Windows XP, and seeing a message stating "Your system is low on virtual memory. Windows is increasing the size of your virtual memory paging file." Unless you have very little physical memory (RAM) in your system, this message is indicative of a buggy application with a memory leak.
A memory leak is a common problem caused by poorly written or poorly debugged applications where they continually use more and more memory until you shut down the program, end the process manually or restart Microsoft Windows.
Virtual memory, also known as a page file or swap file, is a file on your hard drive (C:\pagefile.sys by default) that Windows and applications use in addition to physical memory (RAM) as needed. The default and recommended size of this file is 1.5 times the amount of physical memory. Virtual memory is the sum of physical memory and the page file. So if your computer has 512 MB RAM, it will have a 768 MB page file by default, for a total of 1.25 GB of physical + virtual memory.
Finding the source of the problem
First you need to determine which application is causing the problem.
Hit Control-Alt-Delete to bring up Task Manager (on certain XP Professional configurations you'll need to click the Task Manager button after hitting Control-Alt-Delete). You can also access Task Manager by holding down Control and Shift and pressing Escape.
Go to the Processes tab in Task Manager. Here you will see a list of all the processes (applications or parts thereof) that are running on your system. You will see the memory usage here, but in my experience this very rarely has anything to do with problems running low on virtual memory.
Click View, Select Columns.
Check the Virtual Memory Size box, as circled in the screen shot below and click OK.
Now you have a VM Size column in your Processes tab. Click the top of the VM Size column (as circled below) twice to arrange the processes by their VM Size from largest to smallest.
You'll see in this Task Manager shot that Mozilla Firefox is taking up the most virtual memory at about 237 MB, with Internet Explorer the next biggest at about 81 MB. (the number of KB divided by 1024 equals MB) For both, this is the consequence of leaving them open for more than a week straight. Almost every application will use more memory the longer you keep it open, though some are worse than others. This is one reason that Windows becomes more and more unresponsive the longer you keep it running, and why you end up eeding to restart your computer periodically.
Once you determine which process is using more virtual memory than it should, you need to determine what the process is. Some are pretty obvious, like winword.exe is Microsoft Word, iexplore.exe is Internet Explorer, and so on. Others aren't so obvious. The best way to determine the source of a specific process is to use a search engine to search for the Image Name as shown in Task Manager.
Now that you know which application is causing the problem, let's resolve it.
One common thing to try is to uninstall and reinstall the offending application if possible. Searching the Internet, and checking the support site of the software vendor would be the next two steps I would try. Without knowing which application is at fault, it's difficult to recommend a specific solution.
Thanks to Chris Buechler for his extraordinary assistance with this thorny puzzle
More Useful Windows PC Help Articles:
✔ What's the easiest way to speed up my Windows PC laptop?
My Dell Windows 7 laptop is starting to drive me crazy. It's so darn slow! I've had it a few years and I...✔ Can I force a Windows 7 OS system update?
Every so often Windows 7 pops up a window and tells me that there are updates. That's nice, but how can I force...✔ Fix Google Drive (Gdrive) no longer supported (out of date)?
I'm a big Google fan and have been using Google Drive for quite a while as a cloud storage device. It's a breeze,...✔ How do I open or unpack a RAR archive on my Windows PC?
I have some ".rar" files on my Windows 8 PC and am curious how to unpack them to see what's inside. From a...✔ How can I shrink my Windows 8 Desktop file icons?
I've figured out most things in the new Windows 8 interface, except I can't see how to easily reduce or shrink the file...
Let's stay in touch!
Sign up for my weekly AskDaveTaylor Newsletter and you'll receive even more tech and gadget help right to your inbox, along with exclusive news and industry updates. It's good stuff. I promise!
I do have a comment, now that you mention it!
Check This Out Too...
Look for Answers
All Our Categories
Apple iPad Help
Articles and Reviews
Auctions and Online Shopping
Blogs and Blogging
Building Web Site Traffic
Business and Management
Computer and Internet Basics
d) None of the Above
Google Gmail Help
Google Plus Help
Industry News and Trade Shows
iPhone and Cell Phone Help
iPod, Sony PSP and MP3 Player Help
Kindle Fire Help
Mac OS X Help
Pay Per Click (PPC) Advertising
Search Engine Optimization (SEO)
Shell Script Programming
Tech Support Video Help
The Writing Business
Twitter, LinkedIn and Social Network Help
Unix and Linux Help
Video Game Tips and Help
Windows PC Help
Find Me on Google+
ADT on G+