Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Ozguxxx

Memory leak

This topic is 5968 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I wonder if there is a freeware program which logs memory leaks of a specific program. Do you know anything like this? For example it chekcs the heap of the specified program and logs amount of usage of it into a text file... Thank you.

Share this post


Link to post
Share on other sites
Advertisement
Look into overloading the new and delete operators. While great care should be taken when doing it, it can provide a fairly 'simple' way of logging everything your program allocates and deallocates during run time.

HTH

[edited by - SysOp_1101 on August 13, 2002 4:10:21 AM]

Share this post


Link to post
Share on other sites
Depends on the OS and the compiler.

Linux has some free software that is meant to do what you want, but I have never used.

This link shows you how to activate the checks in VC++
http://www.math.ucla.edu/~anderson/UsingVCPP/LeakChecking.html

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!