Skip to main content
gamedev.net
🔒 Locked

Memory leak

Started by Ozguxxx Aug 13, 2002 at 2:54 AM 3 replies 350+ views
Original Post
Ozguxxx
Ozguxxx
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.
No Sign!!!
SysOp_1101
SysOp_1101
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]
SysOp_1101
dustpuppy
dustpuppy
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
shurcool
shurcool
wee!

another person i can help.

it''s called MMGR, get it here.

hope that helps!

---
shurcool
wwdev

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.