I've read from several places that windows task manager is NOT a good way to tell if you application is leaking memory.
What is a good way to tell?
Is there a handy app that monitors memory usage?
Is using perfmon just as bad?
I'm a relative c++ n00b so sorry if my question is stupid.
If you are looking for memory debugger on Windows, you could try Purify. There is also Valgrind, but that's for Linux.
Passport Advantage Express
1 title(s) found matching your search criteria. All prices are shown in USD.
Quantity Part description *IBM price excluding tax
IBM Rational Purify for Windows Authorized User License + SW Maintenance 12 Months (D53QNLL) 780.00
Continue shopping Continue shopping
View shopping cart View shopping cart
*Note: Catalog prices are exclusive of tax and are subject to change without notice.
Products acquired online will be available via electronic delivery. Shipping costs do not apply to this transaction.
There is a Windows tool that unlike Task Manager will actually tell you how much memory your program is using.
Click the Start button, and select "Run". Type in "perfmon" and press enter.
Highlight each of the counters listed (I think there are 3 to start with) and press the Delete key to remove them.
Now press the button above the graph that looks like '+'.
In the dialog that appears, select "process" for the "performance object".
For the counter, select "private bytes".
Finally, select your program's process from the instance list and press OK.
This will tell you exactly how much memory your program is using.