[Tilecache] tilecache crashes reducible

2StepForward kwegezeder at web.de
Mon Sep 8 04:47:04 EDT 2008


Hi List,

I have a problem with the seeding process of some image data. 
I run a Linux OS and GeoServer as server support. It takes 256 MB space for
image opertation and I get this error from tilecache:


Traceback (most recent call last):
  File "./tilecache_seed.py", line 9, in ?
    TileCache.Client.main()
  File "/srv/www/cgi-bin/tilecache_sh/TileCache/Client.py", line 108, in
main
    seed(svc, base, layer, map(int, sys.argv[3:5]), map(float,
sys.argv[5].split(",")))
  File "/srv/www/cgi-bin/tilecache_sh/TileCache/Client.py", line 92, in seed
    svc.renderTile(tile)
  File "/srv/www/cgi-bin/tilecache_sh/TileCache/Service.py", line 138, in
renderTile
    data = layer.render(tile)
  File "/srv/www/cgi-bin/tilecache_sh/TileCache/Layer.py", line 411, in
render
    return self.renderTile(tile)
  File "/srv/www/cgi-bin/tilecache_sh/TileCache/Layers/WMS.py", line 29, in
renderTile
    tile.data, response = wms.fetch()
  File "/srv/www/cgi-bin/tilecache_sh/TileCache/Client.py", line 64, in
fetch
    raise Exception("Did not get image data back. \nURL: %s\nContent-Type
Header: %s\nResponse: \n%s" % (self.url(), ctype, data))
Exception: Did not get image data back.
URL:
http://localhost:8081/geoserver/wms?layers=CGISTMS%3ASH25T&styles=&service=WMS&width=256&format=image%2Fpng&request=GetMap&height=256&srs=EPSG%3A25832&version=1.1.1&bbox=32600360.0%2C6060000.0%2C32601000.0%2C6060640.0
Content-Type Header: application/vnd.ogc.se_xml
Response:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE
ServiceExceptionReport SYSTEM
"http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1" >   <ServiceException>
      java.lang.OutOfMemoryError: Java heap space
Java heap space
Details:
org.geoserver.platform.ServiceException: java.lang.OutOfMemoryError: Java
heap space
        at org.geoserver.ows.Dispatcher.exception(Dispatcher.java:1177)
        at
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:198)
        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:459)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1054)
        at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
        at
org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:69)
"tilecache_seed.py.out" 109L, 8909C

I don't know why, because I have give a amount of 600 MB memory to the
GeoServer and same things will happend.

Maybe not the tilecache will force this problem, could it be. Further the
geoserver crashes by production of some fetched image data?

Has anyone a idea what the problem could be, or a tip where I could search
for this crashes

Thanks a lot,
Klaus



-- 
View this message in context: http://www.nabble.com/tilecache-crashes-reducible-tp19368141p19368141.html
Sent from the TileCache mailing list archive at Nabble.com.




More information about the Tilecache mailing list