How to determine a process “virtual size” (WinXP)?

前端 未结 6 1588
渐次进展
渐次进展 2020-12-31 12:27

I have a program that needs a lot of memory, and it crashes as soon as the 2GB virtual address space is reached. Sysinternals process explorer displays this as \"virtual si

6条回答
  •  别那么骄傲
    2020-12-31 12:54

    You query a performance counter.
    There is a complete API for this in the win32 API, read about it here.
    You can look at all the performance counters if you run a program called 'perfmon.exe'

提交回复
热议问题