[Geoserver-users] java.lang.OutOfMemoryError: PermGen space

I am running the GeoServer War on IIS6 with Jetty7.
I keep getting the PermGen space issue which I realise is a memory related
error.
Where do I change the JVM arguments on Jetty?
I have included these options in the jetty's start.ini file
--exec
-XX:MaxPermSize=256m
-Xmx256M -Xms48m
-XX:+UseParallelGC
-XX:SoftRefLRUPolicyMSPerMB=36000
-XX:+CMSPermGenSweepingEnabled
-XX:+CMSClassUnloadingEnabled

However, I am not sure if this is the correct place to put them. How do I
know that these parameters are actually being applied to the GeoServer?

I still get the 'PermGen space' error.
I also have axis 2 running on the same IIS and Jetty.

Looking forward to your resolutions.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/java-lang-OutOfMemoryError-PermGen-space-tp5138010.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

I am running the version of Jetty that is installed with the Windows
installation of GeoServer 2.4.3, and I made these types of changes in the
wrapper.conf file in the GeoServer 2.4.3\wrapper directory. You can see how
much memory is being allocated to Java in the Resource Monitor of the Task
Manager.

Hope this helps.

Jerome Wendell

-----Original Message-----
From: anandvincent78 [mailto:anandvincent78@anonymised.com]
Sent: Wednesday, April 30, 2014 11:38 AM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] java.lang.OutOfMemoryError: PermGen space

I am running the GeoServer War on IIS6 with Jetty7.
I keep getting the PermGen space issue which I realise is a memory related
error.
Where do I change the JVM arguments on Jetty?
I have included these options in the jetty's start.ini file --exec
-XX:MaxPermSize=256m -Xmx256M -Xms48m -XX:+UseParallelGC
-XX:SoftRefLRUPolicyMSPerMB=36000
-XX:+CMSPermGenSweepingEnabled
-XX:+CMSClassUnloadingEnabled

However, I am not sure if this is the correct place to put them. How do I
know that these parameters are actually being applied to the GeoServer?

I still get the 'PermGen space' error.
I also have axis 2 running on the same IIS and Jetty.

Looking forward to your resolutions.

--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/java-lang-OutOfMemoryError-PermGen-space
-tp5138010.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Ciao,
-Xmx256M -Xms48m

is definitely underestimated. I would not go lower 512m, I would
actually use 1G to be on the safe side.
I mean, GeoServer is a server side app, 256m is a bit optimistic :slight_smile:

Regards,
Simone Giannecchini

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------