About the "System.Memory.Virtual.Total" problem

Started by x199x, February 26, 2012, 11:44:08 AM

Previous topic - Next topic

x199x

Hi,
    I want to get the total Virtual Memory information in window(windows 7 and windows 2000). But I found that the value of it is bigger than that I see in the windows system.
    The "Virtual Memory" in Netxms is the "pagefile.sys" File's size add the physical memory size.
    In usual,the virtual memory in system is equal to the  "pagefile.sys" size. But,Why the "Virtual Memory" in Netxms include the physical memory?
    I see the code of H_MemoryInfo. The "Virtual Memory" is get by the MEMORYSTATUSEX struct's ullTotalPageFile parameter. Is it a bug?
Thanks