Message-Id: <9706250705.AA08342@sun4nl.NL.net> Date: Wed, 25 Jun 1997 10:03:00 +0200 From: Rob den Boer Subject: AW: Memory Eater.... To: Mike Winsor Cc: djgpp Precedence: bulk >As you may or may not know, I have a game in development. But as of >lately >I've been having a nasty problem with memory loss... Every time I load an >animation or a map file that the game uses I lose somewhere between 30->50k I have a piece of code that traps the malloc/calloc calls, keeping track of all alocations, and can report about pointers not freed, or not used correctly. It's very old, came from DDJ 1990 I think, and I adapted it to DJGPP. Similair tools can be found from this period. You simply add a few lines to your code to link in the extra code. When compiling your production version, simply leave out a #define to skip this code. If you're interested, give me call, and I'll post it to you. bibi Rob den Boer