104
19
Task Manager shows my total memory usage at 90% of my 6 GB total, but no single process is using more than 250 MB RAM, and the sum of RAM use of all running processes is less than 2 GB. I've tried:
- Looking at the numbers in the "Memory" column on the "Processes" tab of Windows 8 Task Manager.
- Looking at the "Working Set", "Private Working Set", "Shared Working Set", and "Commit Size" columns on the "Details" tab of Task Manager.
- Looking at similar memory-related columns in Process Explorer.
- I've tried running Sysinternals RAMMap, but while I'm having the low-memory crisis, it crashes at launch. Once I resolve the problem, RAMMap runs normally, but at that point it's too late.
All show a pretty small amount of memory being used.
There are lots of people asking variants of this question, with various versions of windows, all over the Internet. Some of them manage to solve their low-memory problems, often by re-installing software; sometimes by re-installing windows from scratch. I'm looking for an answer to the general questions that these all share, and that never seem to get answered elsewhere:
- Why is total used memory much higher than the memory used by all listed processes, no matter how I try to count them?
- How could windows "know" that memory is used without knowing what program is using it?
- What processes might possibly use up memory but not show up on the list?
- Is there any software out there that can give more information about used memory?
Details specific to my own problem: Since upgrading to Windows 8.1, The problem occurs as soon as I log in. I run out of memory as soon as I ran any program. I noticed in Process Explorer that several instances of iexplore.exe were running, apparently started automatically. One particular instance was only using a few MB of RAM, but showed hundreds of millions of page faults. On a whim, I killed that specific process, and memory usage immediately dropped by 70%.
Leading to one specific question:
- How could killing one process that supposedly only used a few MB free up several GB?
And a (presumably hard) bonus question:
- Short of re-installing Windows, how might I avoid having to go through this every time I reboot my computer?
See Why do Resource Monitor and Task Manager's total RAM usage not even remotely add up to the total Physical Memory usage? for a more detailed and relevant answer. Voting to mark this as the duplicate instead.
– John Neuhaus – 10 years ago3In my case it was "Driver Locked" memory, reserved by Hyper-V because of having enabled "Dynamic Memory". I had to stop all VM's, disable the setting, and restart them. Thanks for the RAMMap suggestion. – Dagelf – 8 years ago
'I think the question should be titled "Why am I running out of memory."' - Definitely not. There are many reasons someone might be running out of memory, and most of the time it's due to too many programs running. This is a very specific question about why the total used is more than the sum of the processes. This is not the same thing at all. (Also, why is this marked as a duplicate of a question that was asked after this instead of the other way around? ) – Synetech – 6 years ago
3
also kernel memory counts into usage. Post picture of RAMMAp: http://blogs.technet.com/b/askperf/archive/2010/08/13/introduction-to-the-new-sysinternals-tool-rammap.aspx
– magicandre1981 – 11 years ago2I think the question should be titled "Why am I running out of memory." – surfasb – 11 years ago
This question is impossible to answer without specifics. List the programs installed. Or better yet, a dump of the running processes from Performance Monitor. – surfasb – 11 years ago
magicandre1981, I said in my question that RAMMap won't run while my computer is low on memory. It crashes as soon as I run it. Is there any other tool that can provide that information? – Josh – 11 years ago
If the kernel memory counts into usage, is there any tool besides RAMMap that will list kernel memory usage? I'm wondering if a bug in a driver (say, a network driver) could be leaking or otherwise allocating way too much memory. Killing the program that is calling the buggy kernel code (in my case, iexplore.exe) solves the problem, making it look like that program was at fault. Is this even possible? – Josh – 11 years ago
1Are you actually shutting down / restarting your computer completely or do you use hybrid shutdown (default in Windows 8)? After switching to Windows 8 I had a similar problem. I assume one driver took more and more of my physical RAM and didn't give it back, even after turning the computer off and on. In a few weeks it accumulated to several gigabytes. So now every few days I click on "restart" or hold shift while clicking on "shut down" to actually shut down the PC. – Robert – 11 years ago