Hey, thanks for the answers - one always get good ones if the question is polite 8-D. I'll try the daniel_cheng proposal as well. Yes - GCJ uses the boehm-gc as garbage collector. Which is limited by the "-mx=xxxM" parameter by a call to _Z22_Jv_SetMaximumHeapSizePKc() (ref: http://download-master.berlin.freifunk.net/sven-ola/freenet/freenet.node.Nodemain.c )
Yep - a standard PC user only has some drivers problems when adding another 8 Gb of RAM - he's not having probs to grab those chips for cheap in the local supermarket these days. So why not use that gigs instead of a limited HDD <ggg>. On the other hand, I'm sure that something can be done on this in the long run... // Sven-Ola ----- Original Message ----- From: "Matthew Toseland" <[email protected]> To: "Discussion of development issues" <devl at freenetproject.org> Sent: Wednesday, April 16, 2008 5:51 PM Subject: Re: [freenet-dev] Question on restarting On Wednesday 16 April 2008 09:11, Daniel Cheng wrote: > On Wed, Apr 16, 2008 at 2:58 PM, Sven-Ola T?cke <sven-ola at gmx.de> wrote: Agreed, if there's a memory leak we need to deal with it. Of course, as a garbage collected system, the node will keep on increasing its memory usage until it does a GC. I dunno how it works on GCJ, since by default GCJ doesn't have a memory limit... (does it support one?) To answer the original question, it depends how long the node takes to restart, but it probably isn't a big problem.
