Sign in to follow this  
Khatharr

Memory profiler for VS created programs

Recommended Posts

Khatharr    8812
When I run one of my projects I can see that over time it slowly consumes slightly more and more memory. It's possible that either DirectX or irrKlang is responsible for this, but I'd really like to know for sure. Does anyone know of a memory profiler that I can get that will enable me to check things out? I'm not prepared to pay for anything on account of my money is in another castle, but I don't really need much. Just something that I can use to spot leaks during execution or unexpected memory behavior. (A general code profiler would be nice too, but I don't really need one at this point.)

Any suggestions appreciated. [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]

P.S. - Ah, I should probably specify that I'm using Visual Studio 2008 and coding in C++, not using CLR or anything. Edited by Khatharr

Share this post


Link to post
Share on other sites
saejox    714
_CrtDumpMemoryLeaks() is not good as Visual Leak Detector [url="http://vld.codeplex.com/"]http://vld.codeplex.com/[/url] imo.

also you might give Intel VTune trial a shot if you have an intel cpu.
trial duration might be enough for you to fix your problems.

Share this post


Link to post
Share on other sites
Khatharr    8812
Excellent. Thank you.


-------
Edit:

VLD is perfect. Being able to double click on the output and get taken straight to the allocation responsible for the leak is "freaking sweet". (That's an engineering term.) Edited by Khatharr

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this