Hi All,

Yes, I did adjust my JAVA_OPTs and it fix the problem. But, if you undeploy
the application the size of PermGen will not decrease. PermGen will increase
continously until it reaches the specified value in JAVA_OPTS and then
throws outOfMemoryException PermGen.

As I read in the article I posted in my previous message, there a way to
find the accidetnal reference and then adjust the code to be garbage
collected after undeploy action.

Ramzi

On Wed, Sep 16, 2009 at 5:17 PM, Dale Newfield <d...@newfield.org> wrote:

> tibi wrote:
>
>> these work for me:
>>
>> export MAVEN_OPTS="-Xms556M -Xmx556M -XX:MaxPermSize=556M
>> -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled"
>>
>
> I see those are your MAVEN_OPTS, so they're only used while building, not
> for your web server, right?
>
> Do you know enough about those options to suggest whether or not they'd be
> advisable in a production (or test) web server or just in a development one?
>
> -Dale
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

Reply via email to