I have a major memory leak in my project. I suspect it is in zlib. I don't have a lot of practice with finding/fixing memory leaks... so things are going rough lately. Generally, my code doesn't suffer from memory leaks because I am VERY careful to ensure that I free all the memory I allocate. I wish everyone took the time to do things right.

If your coding in C++, here is an article explaining a great way to self regulate your code for memory leaks using new/delete operators.

On OS X, you can link your code to libMallocDebug and then track leaks using the MallocDebug.App. So far it hasn't worked very well for me. I'm not launching it from XCode 2.1, but I don't think that should matter.

 

Add to My Yahoo!

Add to Google

Subscribe with Bloglines

Austin Gilbert/Male/26-30. Lives in United States/Oklahoma/Tulsa/Midtown, speaks English. Spends 40% of daytime online. Uses a Fast (128k-512k) connection. And likes computer science/photography.
This is my blogchalk: United States, Oklahoma, Tulsa, Midtown, English, Austin Gilbert, Male, 26-30, computer science, photography.

Memory Leaks
2005/09/21