Am 06.04.2005 um 20:39 schrieb Vlad Seryakov:

I used valgrind and it complained about huge memory leaks somewhere in the thread allocation, nothing in particular but it pointed on Ns_CsInit function when used master lock. I could not figure out there anything, it is just simple plain ns_calloc but still, when
zippy disabled it is running fine.


Do you primarily use Linux? In that case the ptmalloc should be already there in glibc
and this whole junk can safely be skipped.
Our problem is that we need it for Solaris and Mac OSX and Windows and Linux. Hence I must try the standalone ptmalloc unless I get the Tcl built-in allocator working sane. And, I yet have to see what is the situation looking like on the Win...

But as the Jim Davidson writes:

"Going forward, there are likley newer options such as the google allocator which is similar to zippy for small blocks but appears to be smarter for large blocks and/or garbage collection."

Bah... this thing even does not compile on Darwin...

Zoran




Reply via email to