What we had been running was:
JAVA_OPTS="-server -Xmx1G -Xms128M -XX:SoftRefLRUPolicyMSPerMB=36000
-XX:MaxPermSize=128m -XX:+UseParallelGC -XX:+AggressiveHeap"
I changed this, last week, to:
JAVA_OPTS="-server -Xmx1G -Xms512M -XX:SoftRefLRUPolicyMSPerMB=36000
-XX:MaxPermSize=128m -XX:+UseParallelGC -XX:+AggressiveHeap"
Because we were getting too-small-initial-heap errors.
From: Juan Marín Otero [mailto:[email protected]]
Sent: Wednesday, December 21, 2011 6:31 PM
To: Jeff Dege
Cc: [email protected]
Subject: Re: [Geoserver-users] Java out-of-memory errors
Jeff,
You've set the maximum memory for the heap, but have you also done any other
optimization on the running JVM?
Anything with regards to the garbage collector or the PermGen?
--
Juan Marín Otero
GIS Consultant
-------Visita mi blog en---------------------
http://guachintoneando.blogspot.com<http://guachintoneando.blogspot.com/>
---------------------------------------------------
On Wed, Dec 21, 2011 at 7:01 PM, Jeff Dege
<[email protected]<mailto:[email protected]>> wrote:
We're running GeoServer 2.1.0 on TomCat6 on an Ubunto 10.04 box, with a fairly
modest load (just a few dozen users), and we're having repeated problems with
Java out-of-memory errors.
This seems to be when it started:
Dec 21, 2011 12:07:23 PM org.apache.catalina.connector.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request
processing
java.lang.OutOfMemoryError: GC overhead limit exceeded
Dec 21, 2011 12:08:51 PM org.apache.coyote.http11.Http11AprProcessor endRequest
SEVERE: Error finishing response
java.lang.OutOfMemoryError: GC overhead limit exceeded
And since then, we've had repeated:
Dec 21, 2011 4:34:02 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet dispatcher threw exception
java.lang.OutOfMemoryError: Java heap space
We're using Sun's JVM:
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
And I'm at a loss as to what is going on.
We're on a machine with 8G of ram, and I've set -Xmx to 1G, and I simply can't
see how we could be hitting memory limits at the kind of load we've been seeing.
Any ideas?
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity.
appdeveloper.intel.com/join<http://appdeveloper.intel.com/join>
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Geoserver-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users