One thing about this is: the files are deleted in the finalizers, but JVMs
often don't run the garbage collection right away, so if you close the node
between the time that the objects are removed and it is garabage collected, you
will be left with the files. We should probably clean up the files ourselves
(welcome to the java generation)...

On Thu, 20 Apr 2000, Michael Wiktowy wrote:
> Looking in my store_19114 I see a whole lot more references to data on other 
> machines than before.
> However, new t# files have been generated in the .freenet firectory with no 
> corresponding entry in the store_19114 file.
> Only the very last one has an entry. I can assure you that I have dedicated 
> enough stroage space and item count in my .freenetrc
> file. However, I just noticed that all my .freenetrc had been reset back to 
> defaults when those new fields were added ... but there's still enough space 
> for the newly added entries.
> 
> How does the node check the size of it's data stores? Does it simply take the 
> size of the .freenet directory or does it add up the sizes of all the files 
> referenced in the store_19114? If it is the
> first method then that might explain some of my problems since all the old t# 
> files that were never deleted and are no longer refered to in the store_19114 
> are still in that directory. That would
> explain why the file references are not staying in the store_19114 (since the 
> .freenet directory is bigger than the default size that was reset in 
> .freenetrc) but it would not explain why t# files are
> being generated and left in the .freenet directory.
> 
> Mike
> 
> 
> 
> _______________________________________________
> 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

Reply via email to