> From: Sjoerd Brandsma [mailto:[email protected]]
> I'm running the following configuration:
> Apache Tomcat/6.0.20 1.6.0_21-b07 Sun
> Inside Tomcat i've got the following applications:
> Geoserver 2.0.snapshot
> Deegree-WFS 2.4
>
> This runs 'ok'. Once in a while it stops with the PermGen
> space message.
Then you need more permgen space, and need to increase it. If you
increase it to a larger value, and run all the services you installed
you can check the permgen usage.
Open a command line and run the following:
* Find the java process id:
jps -v
* Inspect the JVM's memory usage:
jmap -heap [process id]
It should give a lot of stats including:
[...]
Perm Generation:
capacity = 163577856 (156.0MB)
used = 98802936 (94.22582244873047MB)
free = 64774920 (61.77417755126953MB)
60.401168236365685% used
Adjust configuration as appropriate.
>
> As soon as I install an additional Geoserver instance
> (2.1.snapshot), Tomcat will not start anymore and the log
> tells me that on every load attempt of libraries etc, it gets
> a PermGen space OO message.
>
>
> I've put this in catalina.bat:
> rem Execute Java with the applicable properties
> set JAVA_OPTS=%JAVA_OPTS% -XX:+CMSClassUnloadingEnabled
> -XX:+CMSPermGenSweepingEnabled -XX:+UseConcMarkSweepGC
> -XX:PermSize=128m -XX:MaxPermSize=512m
>
> When I put those values in the Tomcat windows properties
> manager (under the Java tab, Java options) then tomcat wil
> not start at all..
Probably a java misconfiguration. Running catalina.bat from the
commandline will probably print the message. You probably need to
increase the total memory available -Xmx1500m or so as you use a lot of
the memory for permgen.
Fredrik Holmqvist
METRIA
www.metria.se
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users