How many virtual memory is being used?

  • Thread starter Thread starter Luis Pinho
  • Start date Start date
L

Luis Pinho

Hi,

I would like to know is there's any method that can give me the quantity
of virtual memory being used my C# application.

I search in the System.Diagnostics namespace but the amount of memory
that I get from the different counter has nothing to do with the virtual
memory showned in the Task Manager.

Thanks,

Luís Pinho
 
"VM Memory" in taskman has nothing to do with "virtual memory" size, it
corresponds to "Private bytes".
The counters from System.Diagnostics are correct.

Willy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top