- how to get VM size as seen in task manager
- Posted by gilad on March 21st, 2007
hi,
I read in posts that I should use VirtualQuery and that there is a
simple way in windows vista. however I use windows 2003 and so I
understand that VirtualQuery is my option.
I did some tests with the VirtualQuery where I looped the memory but
never got the same size as seen in the task manager.
please help with the right api.
thanks.
- Posted by gilad on March 22nd, 2007
On Mar 21, 9:15 pm, "gilad" <gil...@yahoo.com> wrote:
I think I solve that out using PROCESS_MEMORY_COUNTERS.PagefileUsage
- Posted by GiuliaReis on March 26th, 2007
On Mar 22, 9:13 am, "gilad" <gil...@yahoo.com> wrote:
If I'm not mistaking its the workingsetsize. Sounds strange butit will
give you the same counters.
There is also a nice article about all these counters. Lok n MSDN for
articles called 'Under the Hood'.
It was something like QueryProcessInformation
enjoy
Rob