Google tmalloc, Hoard

I am going to try tmalloc

but if do not care about speed, just compile Tcl with default malloc, glibc malloc even return memory to the system

Zoran Vasiljevic wrote:
On 12.12.2006, at 19:40, Stephen Deasey wrote:

Tcl not being the fastest kid on the block, and folklore saying you
should reboot your AOLserver/NaviServer once/day due to chronic memory
fragmentation, it would be nice if these thousand node DOMs were
constructed once, at compile time, with one of them thar fancy-pants
1970's macro systems...

Hm... this is important point....

1. memory fragmentation
2. pre-allocation of dom nodes.

Lets skip 2 for the moment. As 1. is affecting all users...

Yes, we do currently restart the server daily because of that
nasty fragmentation and memory eating. Which means there should
be some other options, i.e. other memory allocation techniques
we could use. By "we" I mean ourselves, as we are not that
focused on raw speed of the allocator. Speed-sensible things
we already do with custom C-code and take care about memory
ourselves. But general stuff like Tcl and 2. (above) still
hit us in the knee every day.

Does anybody happen to know a nice malloc replacement
for Win/Unix (Solaris, Linux, Mac OSX) that is fairly fast
for MT process, yet not that memory-hungry as the current
allocator?




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
naviserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel


--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/


Reply via email to