[Geoserver-devel] [jira] Created: (GEOS-1372) Java heap space OutOfMemory Error

Java heap space OutOfMemory Error
---------------------------------

                 Key: GEOS-1372
                 URL: http://jira.codehaus.org/browse/GEOS-1372
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 1.5.3
         Environment: Ubuntu 7.04, 2GB memory, 2ghz Pentium M, using TileCache
            Reporter: Jason Horning
            Assignee: Andrea Aime

24184 [SEVERE] org.geotools.renderer.lite.StreamingRenderer - Java heap space
java.lang.OutOfMemoryError: Java heap space
        at java.awt.image.DataBufferByte.<init>(DataBufferByte.java:58)
        at java.awt.image.ComponentSampleModel.createDataBuffer(ComponentSampleModel.java:397)
        at sun.awt.image.ByteInterleavedRaster.<init>(ByteInterleavedRaster.java:72)
        at sun.awt.image.ByteInterleavedRaster.createCompatibleWritableRaster(ByteInterleavedRaster.java:1268)
        at sun.awt.image.BufferedImageGraphicsConfig.createCompatibleImage(BufferedImageGraphicsConfig.java:84)
        at java.awt.GraphicsConfiguration.createCompatibleImage(GraphicsConfiguration.java:155)
        at org.geotools.renderer.lite.StreamingRenderer.createLiteFeatureTypeStyles(StreamingRenderer.java:1400)
        at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1526)
        at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:711)
        at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:433)
        at org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap(DefaultRasterMapProducer.java:238)
        at org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapResponse.java:368)
        at org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:516)
        at org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:315)
        at org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:192)
        at org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:52)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:347)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050)
        at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:103)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)

It seems to be puking on my sld file which is rather large (106KB). I'm using TileCache and when I turn OFF metatile it will render fine, but when I turn it on it will give me the error you see above.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira