scsh-users
[Top] [All Lists]

Re: memory leak?

To: scsh-news@zurich.ai.mit.edu
Subject: Re: memory leak?
From: Steve Elkins <sgelkins@bellsouth.net>
Date: 11 Oct 2002 05:46:07 -0400
Organization: WEBUSENET.com
gasbichl@informatik.uni-tuebingen.de (Martin Gasbichler) writes:

> Just a short note: The page "s48/scsh debugging tools"
> (http://www.scsh.net/docu/debug.html) contains pointers to two tools
> for detecting space leaks, namely spatial and traverse. 
> 
> In your case, invoking (space) from the structure spatial several
> times reveals that there is no space leak in scsh as the memory usage
> remains constant.

Thanks for pointing this out.  The root window painter I was initially
worried about has been running for days, painting random backgrounds
every 5 minutes, at home and at work, without any growth beyond ~19MB.
For instance...

sge:8$ ps auxwww | egrep USER\|scsh | grep -v grep 

USER       PID %CPU %MEM   VSZ   RSS TT   STAT STARTED       TIME COMMAND
sge      14708  0.0  7.6 19756 19856 p3  S+    Sun07PM    0:03.62 
/usr/local/bin/scsh -o /usr/local/lib/scsh/scshvm -i 
/usr/local/lib/scsh/scsh.image \\ scsh/xmartin-periodic.scm (scshvm)

(Of course I wrapped the long command.)

I'm really enjoying scsh.  Keep up the good work.

Steve

<Prev in Thread] Current Thread [Next in Thread>