On Sat, Dec 30, 2000 at 12:43:11AM -0500, Scott Gregory Miller wrote:
> Oskar, are we clearing the entries in the memory datastore when we clear
> them from the disk too?  (I don't know how that works in current Fred).

from FileData.java

    protected void finalize() throws Throwable
    {
        name.delete();
        super.finalize();
    }

so that looks ok (I think forgetting to call the superclass in a finalize
can result in an actual leak can't it?) (Maybe we should reverse those
calls or at least catch IOExceptions on the file delete...)

I noticed that the corresponding class for the storable fields,
FileDataProperties lacks a finalizer. Of course, that should be a harddisk
leak, not a memory leak.

Somebody said that the StreamStore is not working, so that could be a
likely candidate as well (broken things tend to break in many ways).

-- 
'DeCSS would be fine. Where is it?'
'Here,' Montag touched his head.
'Ah,' Granger smiled and nodded.

Oskar Sandberg
[EMAIL PROTECTED]

_______________________________________________
Freenet-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to