Monitor MEM usage programmatically

  • Thread starter Thread starter John Spiegel
  • Start date Start date
J

John Spiegel

Hi All,

How (if possible) can you monitor the amount of system memory used, e.g.,
that displayed as MEM Usage under the Task Manager? I've got an app (non
..NET) that tends to leak memory and I'd like to keep an eye on it--maybe
through a C# dll???

TIA,

John
 
Why not use the performance monitor for this, you can create log files and
even send alerts when some counter thresholds are reached.

Willy.
 
Thanks, Michael. Took a little looking since I'm still pretty new and
haven't used perfmon before, but it's exactly what I needed!

- John
 
Back
Top