You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by "Jay D. McHugh" <ja...@gmail.com> on 2008/05/02 11:51:59 UTC
Re: java.lang.OutOfMemoryError: PermGen space
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
Re: java.lang.OutOfMemoryError: PermGen space
Posted by "Jay D. McHugh" <ja...@gmail.com>.
Oops,
I should have read all of Kevan's email before sending mine.
Glad things are working for you.
Jay
Jay D. McHugh wrote:
> The default JVM parameters that are set up in the eclipse.ini file are:
>
> -showsplash
> org.eclipse.platform
> -vmargs
> -Xms40m
> -Xmx256m
>
> 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
> errors.
>
> Others on the list wil be able to give you better hints on how to tune
> your memory.
>
> Hope that helps,
>
>
> Jay
>
> filosofisto wrote:
>> I'm starting "geronimo-tomcat6-jee5-2.0.1" from Eclipse 3.3.1.1, 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
>>>
>>
Re: java.lang.OutOfMemoryError: PermGen space
Posted by "Jay D. McHugh" <ja...@gmail.com>.
The default JVM parameters that are set up in the eclipse.ini file are:
-showsplash
org.eclipse.platform
-vmargs
-Xms40m
-Xmx256m
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
errors.
Others on the list wil be able to give you better hints on how to tune
your memory.
Hope that helps,
Jay
filosofisto wrote:
> I'm starting "geronimo-tomcat6-jee5-2.0.1" from Eclipse 3.3.1.1, 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
>>
>
Re: java.lang.OutOfMemoryError: PermGen space
Posted by filosofisto <ed...@bsb.politec.com.br>.
I'm starting "geronimo-tomcat6-jee5-2.0.1" from Eclipse 3.3.1.1, 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 this message in context: http://www.nabble.com/java.lang.OutOfMemoryError%3A-PermGen-space-tp17020962s134p17061650.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.