Re: 3TiB-Node: Installation fails with Java out of memory error

Dennis New <[email protected]>
Newsgroups gmane.network.freenet.support
Message-ID <[email protected]>
On Mon, 14 Apr 2014 21:05:31 +0200, Wolfram Goetz wrote:
> Hello everyone,
> 
> I had successfully run a 400GiB-Node in a Windows 7 x64 environment,
> running as a virtual machine in VirtualBox with 6GB RAM. Now I moved
> the whole installation to a larger harddisk and tried to increase the
> datastore size to 3TiB. This results in a java out of memory error.
> This is from my wrapper.log:
> 
> INFO   | jvm 1    | 2014/04/14 17:08:17 | Initializing SSK Datastore
> (46033289 keys)
> INFO   | jvm 1    | 2014/04/14 17:08:17 | WrapperManager Error: Error
> in WrapperListener.start callback.  java.lang.OutOfMemoryError: Java
> heap space STATUS | wrapper  | 2014/04/14 17:08:17 | Filter trigger
> matched. Restarting JVM.
> INFO   | jvm 1    | 2014/04/14 17:08:17 | WrapperManager Error:
> java.lang.OutOfMemoryError: Java heap space
> STATUS | wrapper  | 2014/04/14 17:08:17 | Filter trigger matched.
> Restarting JVM.
> 
> After a few more error messages freenet shuts down completely. Same
> problem with a new & clean install of freenet. 
> 
> Memory settings from my wrapper conf:
> 
> wrapper.java.initmemory=256
> wrapper.java.additional.4=-XX:MaxPermSize=256m
> wrapper.java.maxmemory=1024
> 
> Did not work with the original settings, too. Any idea what I could
> do?

Perhaps try increasing your MaxPermSize, to something like 500M or so?
And check (in fproxy's Statistics page) that you aren't reaching your
1gig maxmemory, which should probably be enough?
_______________________________________________
Support mailing list
[email protected]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-request-RdDMkVZAZeuJnvDnx1genB2eb7JE58TQ@public.gmane.org?subject=unsubscribe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.