Tuesday, 10 December 2013

Looking at Virtual Memory - !vm

This is going to be brief overview at the !vm extension, which provides Virtual Memory statistics. I've added the 0x20 flag, since it also provides information about the Kernel's own memory usage.

The ResAvail (Resident Available Pages) is the number of virtual memory pages currently in physical memory, that would be available if every process only consumed it's working set minimum. The Available Pages is the combination of virtual and physical memory available to use.

The working set of a process can be seen with the !process extension:

The current values are the default working minimum and maximum values for a process, however, these can be ignored if there is enough memory available to use, and the if the working set hard limits are altered.

The Committed Pages is the number of pages in a process' address space which contain code and data, and are guaranteed to stay in some form of memory, either it be RAM or on the hard-drive. The Commit Limit is the how many pages can be resident within memory.

The two areas highlighted with the !vm output are good areas to look for pool leaks.

Looking at the Kernel consumption, we can see the current consumption, the highest memory consumption and any recent allocation failures.

1 comment: