lua-users home
lua-l archive

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


I'm successfully using dlmalloc (Doug Lea's malloc) with Lua. on win32, it run's 40%+ faster
than the default malloc for windows. It has some nice reporting functions in debug mode.

http://g.oswego.edu/dl/html/malloc.html

Jim


----- Original Message ----- 
From: "Philippe Lhoste" <PhiLho@gmx.net>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Tuesday, November 20, 2001 7:20 AM
Subject: Re: Fragmentation


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