On 04/20/2011 12:41 AM, lists(a)yhmail.de wrote:
Hello again,
this time I am having a hard time with java. I do get the following
error a lot:
- Exception while dispatching incoming RPC call
#012java.lang.OutOfMemoryError: PermGen space
And there isn't anybody on the wiki yet. It's just me changing texts.
No uploads or something similar.
Here are my arguments which Tomcat 5.5 pass to the virtual machine
JAVA_OPTS="-Djava.awt.headless=true -Xms1024M -Xmx3424M"
In my opinion this should be more then enough memory or am I mistaken?
Do I miss something else? I am really lost here....
The OOM you get is not on heap space, but on PermGen, which is used for
storing java classes. You configure that with:
-XX:MaxPermSize=128m
--
Sergiu Dumitriu
http://purl.org/net/sergiu/