Re: [freenet-support] 3TiB-Node: Installation fails with Java out of memory error

2014-04-15 Thread Dennis New
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
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


Re: [freenet-support] Run Freenet on Raspbian Raspberry Pi Error

2014-04-15 Thread Dennis New
On Mon, 14 Apr 2014 02:49:41 +0200, anon...@posteo.de wrote:
 Hello.
 I installed Freenet on my Raspberry Pi with this tutorial (Post by 
 BigObelix):
 http://www.raspberrypi.org/forums/viewtopic.php?f=63t=7383start=25
 
 I've installed it with the offline installer in a mounted truecrypt 
 volume (/media/DIRECTORY_MOUNTED/...)
 
 But Freenet won't start. The wrapper.log shows following errors:
 
 OS is linux
 Detected memory: 437
 Starting Freenet 0.7...
 STATUS | wrapper | 2014/04/14 01:13:52 | -- Wrapper Started as Daemon
 STATUS | wrapper | 2014/04/14 01:13:52 | Java Service Wrapper
 Community Edition 32-bit 3.5.23
 STATUS | wrapper | 2014/04/14 01:13:52 | Copyright (C) 1999-2013
 Tanuki Software, Ltd. All Rights Reserved.
 STATUS | wrapper | 2014/04/14 01:13:52 | 
 http://wrapper.tanukisoftware.com
 STATUS | wrapper | 2014/04/14 01:13:52 |
 STATUS | wrapper | 2014/04/14 01:13:52 | Launching a JVM...
 ERROR | wrapper | 2014/04/14 01:13:55 | JVM exited while loading the 
 application.
 INFO | jvm 1 | 2014/04/14 01:13:55 | Fehler: Hauptklasse 
 freenet.node.NodeStarter konnte nicht gefunden oder geladen werden
 STATUS | wrapper | 2014/04/14 01:13:59 | Reloading Wrapper 
 configuration...
 STATUS | wrapper | 2014/04/14 01:13:59 | Launching a JVM...
 ERROR | wrapper | 2014/04/14 01:14:01 | JVM exited while loading the 
 application.
 INFO | jvm 2 | 2014/04/14 01:14:01 | Fehler: Hauptklasse 
 freenet.node.NodeStarter konnte nicht gefunden oder geladen werden
 STATUS | wrapper | 2014/04/14 01:14:06 | Reloading Wrapper 
 configuration...
 STATUS | wrapper | 2014/04/14 01:14:06 | Launching a JVM...
 INFO | jvm 3 | 2014/04/14 01:14:08 | Fehler: Hauptklasse 
 freenet.node.NodeStarter konnte nicht gefunden oder geladen werden
 ERROR | wrapper | 2014/04/14 01:14:08 | JVM exited while loading the 
 application.
 STATUS | wrapper | 2014/04/14 01:14:13 | Reloading Wrapper 
 configuration...
 STATUS | wrapper | 2014/04/14 01:14:13 | Launching a JVM...
 ERROR | wrapper | 2014/04/14 01:14:16 | JVM exited while loading the 
 application.
 INFO | jvm 4 | 2014/04/14 01:14:16 | Fehler: Hauptklasse 
 freenet.node.NodeStarter konnte nicht gefunden oder geladen werden
 STATUS | wrapper | 2014/04/14 01:14:20 | Reloading Wrapper 
 configuration...
 STATUS | wrapper | 2014/04/14 01:14:20 | Launching a JVM...
 INFO | jvm 5 | 2014/04/14 01:14:23 | Fehler: Hauptklasse 
 freenet.node.NodeStarter konnte nicht gefunden oder geladen werden
 ERROR | wrapper | 2014/04/14 01:14:23 | JVM exited while loading the 
 application.
 FATAL | wrapper | 2014/04/14 01:14:23 | There were 5 failed launches
 in a row, each lasting less than 300 seconds. Giving up.
 FATAL | wrapper | 2014/04/14 01:14:23 | There may be a configuration 
 problem: please check the logs.
 STATUS | wrapper | 2014/04/14 01:14:23 | -- Wrapper Stopped
 
 
 How can i start freenet on my raspberry with raspbian?

Looks like the wrapper is having trouble finding the main freenet.jar.
Do you have a wrapper.conf (or similar) file there? Specifically, you
want to pay attention to the wrapper.working.dir variable. Perhaps even
append lines such as:

wrapper.java.classpath.1=/where/is/freenet.jar
___
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