You are hereLongitude Knowledge Book / kb89: How is memory usage calculated on Windows?

kb89: How is memory usage calculated on Windows?


By csmith - Posted on 16 November 2009

On Windows, physical memory usage is calculated based on the following properties collected using WMI from the root/cimv2 namespace:

  • "TotalPhysicalMemory" property from the "Win32_ComputerSystem" object
  • "AvailableBytes" property from the "Win32_PerfRawData_PerfOS_Memory" object