swarm-support
[Top][All Lists]
Advanced

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

Re: Does dropping objects really free memory?


From: Marcus G. Daniels
Subject: Re: Does dropping objects really free memory?
Date: 19 Oct 1999 19:52:00 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "FM" == famasce  <address@hidden> writes:

FM> I've put the source in
FM> ftp://ftp.santafe.edu/pub/swarm/users-contrib/incoming/ in the
FM> hope that someone can help me.

One thing is this:

diff --ignore-all-space -c -r fabio-orig/Agent.m fabio/Agent.m
*** fabio-orig/Agent.m  Tue Oct 19 10:24:32 1999
--- fabio/Agent.m       Tue Oct 19 19:30:46 1999
***************
*** 572,578 ****
     [curPopArray drop];
     [selectArray drop];
           
!    return [partial_Best copy:[self getZone]];
  }
  
  
--- 571,577 ----
     [curPopArray drop];
     [selectArray drop];
           
!    return [partial_Best copy: theZone];
  }
  
You also have various usages of calloc that you aren't handling in drop
methods.  I suppose you already know that Zones are just a higher level
abstraction on top of malloc routines...

                  ==================================
   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]