« Return to Thread: OutOfMemoryError running in Tomcat

Re: OutOfMemoryError running in Tomcat

by Andrea Aime-4 :: Rate this Message:

Reply to Author | View in Thread

Ziegler Stefan ha scritto:
> Hi
>
> I set some additional jvm options:
>
> JAVA_OPTS="$JAVA_OPTS -XX:+UseConcMarkSweepGC "
> JAVA_OPTS="$JAVA_OPTS -XX:+CMSPermGenSweepingEnabled "
> JAVA_OPTS="$JAVA_OPTS -XX:+CMSClassUnloadingEnabled "

Ah, right, these help in avoiding issue with redeploys: Tomcat leaks
memory in the perm gen at each redeploy and the above allows the
VM to reclaim that space, using the parallel collector that is not
allowed instead.

Cheers
Andrea


--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

 « Return to Thread: OutOfMemoryError running in Tomcat