On Fri, 21 Apr 2000, Bill Trost wrote: > Oskar Sandberg writes: > On Thu, 20 Apr 2000, Bill Trost wrote: > > So force garbage collection at node closure time, perhaps. > > Feel free to tell us the not deprecated method for doing this. > > Since you asked so nicely, how does System.gc() strike you? The docs > for Java 2 SDK, SE v1.3, indicate this method is fine.
But that assumes a clean quit, which we don't have. I think it is actually System.runFinalization() we want, which I suppose we could do every time we run cleanUpData(), but that is not very different from running the finalize method manually as we remove each object. > My recomendation would be that files are removed during the > cleanUpData() method. > > Sure, take the simple, effective, and obvious approach... (-: > > _______________________________________________ > Freenet-dev mailing list > Freenet-dev at lists.sourceforge.net > http://lists.sourceforge.net/mailman/listinfo/freenet-dev -- Oskar Sandberg md98-osa at nada.kth.se #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
