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?




Reply via email to