swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: leak detection


From: Marcus G. Daniels
Subject: Re: leak detection
Date: 08 Feb 2000 15:46:35 -0800
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "RS" == Ralf Stephan <address@hidden> writes:

RS> 'top' shows a memory leak in my simulation,
RS> grabbing ~20k every few hundred steps. 

A scratch index you didn't drop???  [good answer! good answer!]

Survey says..... *DING*

diff -c -r aquarium-0.02.3/Species.m aquarium-0.02.3-1/Species.m
*** aquarium-0.02.3/Species.m   Mon Jan 31 11:14:19 2000
--- aquarium-0.02.3-1/Species.m Tue Feb  8 16:33:13 2000
***************
*** 54,60 ****
        for (member = [index next]; [index getLoc] == Member; member = [index 
next])
                if (member)
                        [individua add: member];
!                       
        lastAdds = [addBuffer getCount];
        [addBuffer removeAll];
        
--- 54,60 ----
        for (member = [index next]; [index getLoc] == Member; member = [index 
next])
                if (member)
                        [individua add: member];
!         [index drop];
        lastAdds = [addBuffer getCount];
        [addBuffer removeAll];
        

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]