Thanks all for helping. It turned out to be a problem with a -Xmx1600m combined with -XX:PermSize=256m. Apparently this simply didn't fit.. (I should've read the log files more closely ;) )
-Xmx1400m and -XX:PermSize=256m workes. Regards, Sjoerd On Tue, Feb 8, 2011 at 6:27 PM, Sjoerd Brandsma <[email protected]> wrote: > Hi, > > thanks for the suggestions. I'm using JRE and the commands you suggest > are available in JDK. > JDK also seems to be required when running catalina from the cmd > prompt. How is the geoserver launched > when using the tomcat window manager? > > I've got jdk 1.5 on the system but this seems to be a bit unstable > with geoserver and SQL datastores.. > > thanks for the help. > > best regards, > Sjoerd > > > On Tue, Feb 8, 2011 at 10:01 AM, Holmqvist Fredrik > <[email protected]> wrote: >>> 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 >> > ------------------------------------------------------------------------------ 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
