Re: [AOLSERVER] Getting a handle on memory usage

2008-05-02 Thread Stephen Deasey
On Fri, May 2, 2008 at 6:46 PM, Rick Cobb <[EMAIL PROTECTED]> wrote: > > Just to add something to the discussion: One point I think is confusing > about the C API, and needs more amplification in the documentation, is > the asymmetry between Ns_TclAllocateInterp and Nn_TclDeAllocateInterp. > In our

Re: [AOLSERVER] Getting a handle on memory usage

2008-05-02 Thread Rick Cobb
I hate to just 'me too' on these discussions, but I agree. In both 3.4.2 and 4.5 (the only two AOLServers we have any experience with here), our typical experience has been that leaks were in our application area, and many of the most nasty ones to find were in long-lived threads. We've tried to f

Re: [AOLSERVER] Getting a handle on memory usage

2008-05-02 Thread Maurizio Martignano
Dear all, If a proper analysis of the memory consumption is of interest to anyone, it could be an idea to use Valgrind/Memcheck: http://valgrind.org/ Anyhow, before going over such detailed and time consuming analysis, I first would try to: 1. use the TCL Standard memory allocator (and no

Re: [AOLSERVER] Getting a handle on memory usage

2008-05-02 Thread Fenton, Brian
Gustaf originally posted his script here: http://thread.gmane.org/gmane.comp.web.aolserver/12665/focus=12667 For my OS version, I had to change the ps command to: set ps [exec ps xv | grep "[pid] "] regards Brian -Original Message- From: AOLserver Discussion [mailto:[EMAIL PROTECTED] On