Hi List,
I've been getting a lot of OutOfMemoryError errors in my logs over the past
few days, to the extent that all three instances of my live service died
yesterday afternoon!

GeoServer 2.4.3
Windows Server 2008 R2  -64bit. - The machine has ~30GB RAM, but each
tomcat instance never uses more than 1.5GB.
Tomcat 6

Environmental variables for each instance:

> set JAVA_OPTS= -Xmx5G -Xms2G -XX:MaxPermSize=256m
> set JAVA_OPTS=%JAVA_OPTS% -XX:+UseConcMarkSweepGC -XX:+UseParNewGC
> -XX:ParallelGCThreads=4



Example of the error:

2014-01-29 12:12:34,082 ERROR [geotools.rendering] - Java heap space
> java.lang.OutOfMemoryError: Java heap space
> at java.awt.image.DataBufferByte.<init>(Unknown Source)
> at java.awt.image.ComponentSampleModel.createDataBuffer(Unknown Source)
>  at sun.awt.image.ByteInterleavedRaster.<init>(Unknown Source)
> at
> sun.awt.image.ByteInterleavedRaster.createCompatibleWritableRaster(Unknown
> Source)
>  at
> sun.awt.image.BufferedImageGraphicsConfig.createCompatibleImage(Unknown
> Source)
> at java.awt.GraphicsConfiguration.createCompatibleImage(Unknown Source)
>  at
> org.geotools.renderer.lite.DelayedBackbufferGraphic.init(DelayedBackbufferGraphic.java:71)
> at
> org.geotools.renderer.lite.StreamingRenderer$PaintShapeRequest.execute(StreamingRenderer.java:3445)
>  at
> org.geotools.renderer.lite.StreamingRenderer$PainterThread.run(StreamingRenderer.java:3657)
> at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
>  at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
> at java.util.concurrent.FutureTask.run(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> 2014-01-29 12:12:34,082 ERROR [geoserver.ows] -
> org.geoserver.platform.ServiceException: Rendering process failed
> at
> org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:507)
>  at
> org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:251)
> at
> org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:123)



This hasn't happened before. The only change I've made to the systems
recently was:
- Increase all Oracle stores "Fetch size" from 1000 to 10,000
- Increase all Oracle stores "min connections" from 5 to 20.

There are two Oracle stores.

A complete set of logs is here -
http://maps.warwickshire.gov.uk/shr/logs.zip

Anyone have any ideas why?

Cheers,
Jonathan

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to