lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Perhaps dmalloc or similar can be helpful.

http://dmalloc.com/
http://dmalloc.com/docs/online/dmalloc_8.html#SEC8 : "*logging statistics* 
One of the reasons why the debug malloc library was initially developed was
to track programs' memory usage -- specifically to locate memory leaks which
are places where allocated memory is never getting freed. See section 3.7.2
Tracking Down Non-Freed Memory. The library has a number of logging
capabilities that can track un-freed memory pointers as well as runtime memory usage,
memory transactions, administrative actions, and final statistics." 

Not tested by myself.

PS: Unless you want to be very generic, you should have given the target
system.

Regards.

-- 
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://jove.prohosting.com/~philho/
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--

Sent through GMX FreeMail - http://www.gmx.net