How to monitor memory usage?

Started by
2 comments, last by FunkyTune 21 years, 10 months ago
How can I see how much memory my program/game uses? Everyone seems to be talking about it, but I haven''t found how to do it. This question applies to MSVC++ 6 /John
/John
Advertisement
Task manager in NT, and PSAPI again on NT: GetProcessMemoryInfo.
---visit #directxdev on afternet <- not just for directx, despite the name
And if you have Win95...?

/John
/John
That's a good question. I haven't found a way to obtain similar stats on Win9x; [*]maybe someone else have?<br><br>
[*]although you can probably use VirtualQuery and just walk your address space, obtaining total memory committed/reserved this way.<br><br><SPAN CLASS=editedby>[edited by - IndirectX on June 9, 2002 6:11:29 PM]</SPAN>
---visit #directxdev on afternet <- not just for directx, despite the name

This topic is closed to new replies.

Advertisement