On Sunday 18 May 2008 10:54:16 Alexander Lehmann wrote: > what is your opinion, should I commit this and leave the memory issue > for later or should I first write a fix for this? > > https://bugs.freenetproject.org/view.php?id=2377 > > If at all this will only be a problem for people that receive and send > lots of mails if they never restart Freemail or the node. > > bye, Alexander
Hi, I tried to get around this issue with the account properties files by opening the objects once and then passing them around. I was contemplating a solution like this as it does cover the more general problem and make sure we don't get conflicting writes for any props files, but of course it comes with its own complications as you rightly point out. I'm becoming more convinced that this is a better solution now, so if you commit your changes, I'm sure we can fix the memory leak relatively simply. Provided we always delete props files through the PropsFile object, we can remove the entries when the file is deleted. Dave
