> Gesendet: Sonntag, 29. März 2015 um 15:50 Uhr > Von: "Bert Massop" <bert.mas...@gmail.com> > An: support@freenetproject.org > Betreff: Re: [freenet-support] data store > 500GB? > > On 28-03-15 20:36, Steve Dougherty wrote: > > On 03/28/2015 12:07 PM, Eric Chadbourne wrote: > >> Hi All, > >> > >> Is it possible to use more than a 500GB data store? > >> > >> On a fresh installation the largest selectable value for the > >> datastore is 500GB. I would like to use 3TB if possible. When I > >> attempt to change the value via the web page I get an out of memory > >> error. If I change the value in freenet.ini the application won’t > >> start. I may not be setting the value correctly. > >> > >> Internal error: please report > >> > >> java.lang.OutOfMemoryError: Java heap space > > > > What is "Maximum memory usage" under "Wrapper" on the Configuration > > > Core settings page set to? For a store that big it seems like it'll have > > to be higher. > > I think this correctly identifies the problem at hand: IIRC, bloom > filters contribute to a memory usage of 1/3000th of the data store size, > which would be around 1 GB of RAM for a 3TB data store — not counting > memory consumption of other parts of Freenet, Java memory management > overhead, etc. > > Your problem can probably be solved by raising the memory limit.* Apart > from the limits imposed by your storage and RAM capacities, there is no > limit to datastore size (apart from some 2^63 bytes limits imposed by > internal representation, but that should never be an issue in the > foreseeable future). > > Keep in mind that other settings may need additional tweaking for > optimal performance when such a large datastore is used. > > Thank you for running Freenet! > > -- Bert
I always got these out memory errors when I tried to run a 3TiB node under Windows 7 64-bit, regardsless of the said settings. When I switched to Linux (Kubuntu 14.04) it worked immediately. Could it also depend on the java version? I'm using OpenJDK under Linux now. _______________________________________________ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe