geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From filosofisto <eduardo.ribe...@bsb.politec.com.br>
Subject Re: java.lang.OutOfMemoryError: PermGen space
Date Mon, 05 May 2008 18:42:46 GMT

The problem is resolved.
:handshake:

Kevan Miller wrote:
> 
> 
> On May 2, 2008, at 10:45 AM, 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?
> 
> Are you running with default memory settings? First step is to bump  
> your PermGen size? For example:
> 
> export JAVA_OPTS="-Xmx512m -XX:MaxPermSize=256m"
> ./geronimo.sh run
> 
> Adding " -verbose:gc -XX:+PrintGCDetails" will give you an idea on how  
> much memory your application requires. If you see increasing permgen  
> space utilization over time (during multiple deploy/undeploy  
> operations), let us know specifics of your app, or provide us a sample  
> that can recreate the problem.
> 
> --kevan
> 
> 

-- 
View this message in context: http://www.nabble.com/java.lang.OutOfMemoryError%3A-PermGen-space-tp17020962s134p17068139.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message