> > We do remove all files explicitely. Java has built in temp files, but only > in 1.2+, so we don't use them. The files in the store are being removed in > their destructor, so if they are not going away either the destructor is > not being called or the JVMs are not obeying delete calls on files (since > I believe I have heard complaints about the client temporary files, which > are removed before ending, not in the destructor, are remaining as well). > I would have debugged this further, but I don't have access to any Windows > machines (somewhat thankfully).
Well the temp files that are gouging my system occur when inserting. t745857 files. I'll see if I can track down whether or not they are deleted when the system inserts successfully or when it fails to insert. Any how, when I exit freenet, it should clean up its mess regardless. It doesnt. > > To help people, I added a feature (last summer) whereby when the node > is started it purges the store directory of any files not in the store > index. This could be scheduled while the node is running, but you have to > lock down the caching completely while it runs (not just the store, though > a static lock variable in FileData and FileDataProperties would probably > be enough). If it truly is that removing files doesn't work that won't > really help though. A clean up schedule process in freenet that cleans up released temp files would be very nice. Jay Ferguson _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
