Skip to main content
gamedev.net
🔒 Locked

memory-leaks

Started by blebb Oct 4, 2000 at 11:44 AM 2 replies 200+ views
Original Post
blebb
blebb
Any good ways to find memory leaks?
JonStelly
JonStelly
Override the global new and delete.
Isaac Vanier
Isaac Vanier
Yeah, the info on flipcode is excellent. I had a pretty bad memory leak in my game about a month ago. I used the technique described on the flipcode article and it worked very well. I was really surprised to see how much memory my program was allocating and not releasing. It''s kind of fun to track everything down and see the "unfreed memory" number drop further and further ...at least to a coding geek like me

It did turn out that there was a memory leak which was the main one causing the problems which couldn''t be detected as defined by the article. I can''t remember exactly what the cause was. But although the technique didn''t point it out directly, it lead me to it.

Topic Locked

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

Sign in to reply to this topic.