Monitor MEM usage programmatically

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
 
W

Willy Denoyette [MVP]

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

Willy.
 
J

John Spiegel

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
 

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

Top