[Xitami-Dev] memtrace file clogging system up?

Ewen McNeill xitami-dev@lists.xitami.org
Thu, 13 Dec 2001 17:05:42 +1300


In message <17122790551.20011212141645@gzo.dk>, AO writes:
>A couble of time have I tried to get my Xitami installation
>drive filled totally up by a file called
>memtrace.[something] I cant remember the extension, since i
>had to remove the file in order to get anyting to work. It
>seems to be some kind of debugging info or something...

Yeah, memtrace.lst is written when the server stops without freeing up
all the memory it allocates -- as a debugging aid.

Usually the file should be pretty small (10KB or so at worst); if you
get an "infinite" length file (ie, bigger than 1-2MB), then chances are
the memory has become corrupted for some reason, so that the list of
"allocated memory blocks" goes around in a loop, and the file repeats
the same information over and over again.  This is a bug too, but
perhaps not the best way to tell you about it :-)

Ewen

-- 
Ewen McNeill, Technical Consultant, iMatix Corporation  www.imatix.com