Score:0

Determine how many memory each process use - Windows

cn flag

On a Windows 2019 server equiped with 24 GiB of memory, only about 1 GiB is free.
But when I use Task Manager or Process Explorer, no process use more than some MiB.

If I add the memory used by each process, the sum is only 3 GiB (I export the data with Process Explorer and do the sum in a spreadsheet).

Total memory: 24 GiB
Used memory: 23 GiB
Swap used: 4 GiB
Sum of each process memory: 3 GiB

I sum Private Bytes or Working Set, each give a total around 3 GiB.
I know these two indicators are far from optimal, but a better one is not available with these tools. The difference with reality is nearly one order of magnitude!

How can I have a better view of memory usage?
A graphical display as in WinDirStat would be very nice, but as this question is a main hassle with Windows, I doubt anything easy exists.

Score:3
cn flag

You can use RAMMap to see where you memory is assigned, with a graphical display.

And maybe PoolMon from the Windows Driver Kit (WDK) to help you find leaking drivers, Microsoft provides examples in the documentation (take a look at Example 3: Detect Memory Leakage, i.e. starting poolmon /p /p /b and monitoring the output on a regular basis).

cn flag
RAMMap gave me the missing information: the memory was heavily consummed by a faulty driver, which was invisible with the usual tools. Many thanks! The only criticism is the lack of details, because I had to guess which driver was involved (which was very easy in this case).
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.