You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Cla Emanuel Monsch <cl...@netcetera.ch> on 2008/04/16 16:58:09 UTC

"java.lang.OutOfMemoryError: Java heap space"

hi there

when i want to show the build log of one of our projects i get the 
following exception:

***************************
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at 
com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358)

...
...
...

at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
	at 
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: java.lang.OutOfMemoryError: Java heap space
***************************

it's exactly the same exception as described in this jira bug report: 
http://jira.codehaus.org/browse/CONTINUUM-1348.
BUT - i'm using continuum 1.1 and this problem should be fixed since 
version 1.1-beta-3. "build fresh" option is set to true as well.

in my wrapper.conf file i've enhanced the java heap size but it hasn't 
any effect.

# Initial Java Heap Size (in MB)
wrapper.java.initmemory=6

# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=1024


any ideas what to do?

regards
cla



-- 
Cla Emanuel Monsch | cla.monsch@netcetera.ch
phone +41-44-247 79 06 | fax +41-44-247 70 75
Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch