Mail Archives: djgpp/1997/06/25/03:06:36

Message-Id: <>
Date: Wed, 25 Jun 1997 10:03:00 +0200
From: Rob den Boer <rob DOT den DOT boer AT derijke DOT nl>
Subject: AW: Memory Eater....
To: Mike Winsor <mwinsor AT hotmail DOT com>
Cc: djgpp <djgpp AT delorie DOT com>

>As you may or may not know, I have a game in development.  But as of   
>I've been having a nasty problem with memory loss...  Every time I load   
>animation or a map file that the game uses I lose somewhere between   

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   
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.

Rob den Boer

- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019