geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay D. McHugh" <>
Subject Re: java.lang.OutOfMemoryError: PermGen space
Date Mon, 05 May 2008 18:54:12 GMT
The default JVM parameters that are set up in the eclipse.ini file are:


Those are too small for working with Geronimo and don't specify a 
permgen space at all.  Because of that, I think the permgen size that 
gets set up is only 64 meg.

There are not really 'recommended' sizes because requirements vary 
depending on whether you are in development or production and the 
size/type of applications you are running.

But, if you increase the heap size (-Xmx512m and -Xmx1024m are the two 
sizes I usually pick between) and specify a permgen size 
(-XX:MaxPermSize=256m is what I use) then that should take care of your 

Others on the list wil be able to give you better hints on how to tune 
your memory.

Hope that helps,


filosofisto wrote:
> I'm starting "geronimo-tomcat6-jee5-2.0.1" from Eclipse, and I did
> not any aditional configuration.
> Jay D. McHugh-3 wrote:
>> Which version of Geronimo are you using and what command are you using 
>> to start it?
>> Jay
>> filosofisto wrote:
>>> Hi all, 
>>> we are developing an application using these tecnologies:
>>> - JSF1.2 (MyFaces)
>>> - EJB3
>>> - JPA
>>> - RichFaces 3.2
>>> Well, frequentally we are receiving an OutOfMemoryError (PermGen space),
>>> and
>>> must restart geronimo.
>>> Anybody can help us?
>>> Thanks a lot

View raw message