Advertisement

Memory leak detecting

Started by June 14, 2001 05:36 AM
2 comments, last by Lord Chaos 23 years, 7 months ago
I''m writing a multiplayer matchmaking/chat/game server for Linux, and have run into some problems. What memory leak detecting tools/libs do you guys use? My server runs in multiple processes AND threads, and uses MySQL. I''ve tried memprof, but it crashes in the call to mysql_init() as far as I can tell, and ccmalloc and dmalloc reports very strange leaks in pthread and mysql calls. Is the solution to compile my own mysql/pthread libs with debugging symbols and use these? (since I guess the distributed binaries are stripped).
-------------------------------------------------------------LGPL 3D engine - http://www.sourceforge.net/projects/realityengine
I use ElectricFence, and am really, really happy with it. It has its shortcomings, but in general, it''s great. It catches most of the tough array overwrite bugs in my game. The rest, well, that''s what testing''s for.

-ben.c
Advertisement
Where can I get this?
Visit:http://www.evildawncrew.comAll things which are worth beeing done, are worth beeing donw well.
ftp://ftp.perens.com/pub/ElectricFence/

ben.c

This topic is closed to new replies.

Advertisement