Author Topic: About the "System.Memory.Virtual.Total" problem  (Read 6614 times)

x199x

  • Newbie
  • *
  • Posts: 17
    • View Profile
About the "System.Memory.Virtual.Total" problem
« on: February 26, 2012, 11:44:08 am »
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