users@glassfish.java.net

Re: java.lang.OutOfMemoryError: PermGen space

From: <glassfish_at_javadesktop.org>
Date: Tue, 20 Feb 2007 13:36:56 PST

better late than never: PermGen space is not Heap space.
What you see with the -Xmx ans -Xms setting is heap space, not permgen space.
It's a well established problem with Eclipse 3.2 as well, it also tends to run out (especially during large scale XML operations like editing lots of deployment descriptors or wsdl files).

You can increase it with: -XX:MaxPermSize=256m
At least with Sun JVMs (other makes may not have this flag).
[Message sent by forum member 'jwenting' (jwenting)]

http://forums.java.net/jive/thread.jspa?messageID=204503