Mantis - Resin
Viewing Issue Advanced Details
5095 block always 05-29-12 09:00 06-19-12 18:22
chiefgeek  
ferg  
normal  
closed 4.0.27  
fixed  
none    
none 4.0.29  
0005095: Watchdog fails to start with OutOfMemoryError - Ubuntu Java7
Watchdog fails with out of memory error when starting

[2012/05/29 11:44:29.614] {main}
[2012/05/29 11:44:29.614] {main} Resin-4.0.27 (built Thu, 22 Mar 2012 06:14:10 PDT)
[2012/05/29 11:44:29.614] {main}
[2012/05/29 11:44:29.614] {main} Linux 2.6.32-41-generic amd64
[2012/05/29 11:44:29.615] {main} Java(TM) SE Runtime Environment 1.7.0_04-b20, UTF-8, en
[2012/05/29 11:44:29.615] {main} Java HotSpot(TM) 64-Bit Server VM 23.0-b21, 64, mixed mode, Oracle Corporation
[2012/05/29 11:44:29.615] {main}
[2012/05/29 11:44:29.615] {main} user.name = root
[2012/05/29 11:44:30.545] {main}
[2012/05/29 11:44:30.545] {main} resin.home = /usr/local/resin/
[2012/05/29 11:44:30.545] {main} resin.root = /usr/local/resin/
[2012/05/29 11:44:30.546] {main} resin.conf = /usr/local/resin/conf/resin.xml
[2012/05/29 11:44:30.546] {main}
[2012/05/29 11:44:30.546] {main} watchdog = 127.0.0.1:-1 (watchdog:default)
[2012/05/29 11:44:30.546] {main} stage = production
[2012/05/29 11:44:33.791] {main} WebApp[production/webapp/admin.resin/ROOT] active
[2012/05/29 11:44:33.917] {main} Host[production/host/admin.resin] active
[2012/05/29 11:44:33.917] {main} ServletService[id=default,cluster=watchdog] active
[2012/05/29 11:44:34.193] {main}
[2012/05/29 11:44:34.199] {main} http listening to localhost:6700
[2012/05/29 11:44:34.206] {main}
EXN: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:2271)
        at sun.misc.Resource.getBytes(Resource.java:117)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:444)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
4.0.26 starts fine

There are no notes attached to this issue.