Hi List,
    I'm experiencing some memory issues with GeoServer 2.7.1 on Linux. The 
startup settings are:
    jvm_opts=-Xms2G -Xmx6G -XX:MaxPermSize=1024m (So 6GB of Heap).
    
    I'm running some JMeter tests to make requests like this:
    
http://localhost:8080/geoserver/wms?LAYERS=myayer&FORMAT=image%2Fpng8&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A27700&BBOX=404453,555869,415688,572175&WIDTH=3210&HEIGHT=4659&FORMAT_OPTIONS=dpi:300
    
    As you can see, it's for a very large image: 3210 * 4659 at 300DPI (A3 
printing size; alas we cannot use tiles). While mostly targetted at rural areas 
there are some towns in the given areas, so well into the 10's of thousands of 
features sometimes hundreds of thousands. The data is coming from Oracle.
    WMS "Max rendering memory (KB)" is at 64MB (the default); I've increased 
rendering time to be up to 5 mins (the max is taking about 100 seconds).
    
    Using 5 threads in Jmeter against one instance and running tests against 
lots of different scales we're seeing a probably 10-20% of requests return:
    
    <ServiceException code="internalError">
      Rendering process failed
java.lang.OutOfMemoryError: Java heap space
Java heap space
</ServiceException>
    
    
    We've also had at least one of these:
    
    <ServiceException code="internalError">
      Rendering process failed
java.lang.OutOfMemoryError: GC overhead limit exceeded
GC overhead limit exceeded
</ServiceException>

Given there are only 5 threads, and the max rendering memory is a mere 64MB, 
even taking into account all the features that need to be loaded, we're 
surprised that somehow Java is running out of space. Is it worth increasing the 
-Xmx even higher? Is there anything else we can do to obviate this problem?
Thanks,
Jonathan
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to