On Thu, Dec 22, 2011 at 1:01 AM, Jeff Dege <[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?


Over time we fixed a few memory leaks related to WFS usage, you might
want to upgrade to 2.1.3.
A way to investigate what is leaking is to wait for your server to get
close to the OOM and then
use something like this on the command line (assuming the JDK is in your path):

jmap -histo:live <jvmProcessId>

It will dump a histogram with the classes that use the most memory. See also:
http://docs.geoserver.org/latest/en/user/production/troubleshooting.html#jmap

Cheers
Andrea


--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

Please take note that GeoSolutions will be closed for Christmas
holidays from 27/12 to 30/12

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

------------------------------------------------------------------------------
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

Reply via email to