In a fresh, empty server (make runtest) memory use doesn't climb at
all (2.8MB res, 17MB virt).

Do you have any C modules loaded?  Use ttrace?



On Apr 5, 2005 1:19 PM, Zoran Vasiljevic <[EMAIL PROTECTED]> wrote:
> Hey friends,
> 
> would you mind putting this in your nscp session and observe the virtual
> memory usage (e.g. with the top utility) in a separate window?
> 
>       time {set t [ns_thread begin "set a 1"]; ns_thread join $t} 10000
> 
> I start with about 45MB server (startup) and end with 600MB after the
> test!
> 
> I believe this is not a memleak per-se (i.e. one on e could catch with
> Purify or such...). I believe this is a side-effect of the AOL memory
> allocator which has been accepted by the Tcl core in threaded builds.
> 
> Anyways, this is absolutely unacceptable for us. I must do some lobying
> in the Tcl project to correct this somehow. This could explain some
> memory-related problems in AS (and NS, consequently) reported by some
> users. Alternbative could be to test the new Googled tmalloc (or however
> it is called)...
> 
> Cheers
> Zoran

Reply via email to