[Tilecache] Problem with tilecache_seed.py
Frédéric Junod
frederic.junod at camptocamp.com
Mon Nov 10 08:40:39 EST 2008
Alexandre,
At the end of the traceback:
[...]
msDrawRasterLayerGDAL(): Memory allocation error. Allocating work image of size 256x256 failed.
You system seems to be out of memory.
Is 'mos' an ECW raster layer ?
gdal have a memory leaks bugs, see http://trac.osgeo.org/gdal/ticket/2210. The bug is fixed in svn.
fredj
Le Mon, 10 Nov 2008 08:19:14 -0500,
Alexandre Dube <adube at mapgears.com> a écrit :
> Hi,
>
> I still have problems pre-generating tiles with the tilecache_seed.py
> command. After a couple of failed tries, I finally gave up on metaTile,
> but it seems like the problem may be elsewhere because again I get
> errors after a couple of script running :
>
> Traceback (most recent call last):
> File "./tilecache_seed.py", line 9, in <module>
> TileCache.Client.main()
> File "/home/mapgears/tilecache/TileCache/Client.py", line 108, in main
> seed(svc, base, layer, map(int, sys.argv[3:5]), map(float,
> sys.argv[5].split(",")))
> File "/home/mapgears/tilecache/TileCache/Client.py", line 92, in seed
> svc.renderTile(tile)
> File "/home/mapgears/tilecache/TileCache/Service.py", line 138, in
> renderTile
> data = layer.render(tile)
> File "/home/mapgears/tilecache/TileCache/Layer.py", line 437, in render
> return self.renderTile(tile)
> File "/home/mapgears/tilecache/TileCache/Layers/MapServer.py", line
> 51, in renderTile
> mapImage = wms.draw()
> File "/home/mapgears/fgs-5.2.0/www/lib/python2.5/mapscript.py", line
> 1363, in draw
> def draw(*args): return _mapscript.mapObj_draw(*args)
> _mapscript.MapServerError: msDrawMap(): Image handling error. Failed to
> draw layer named 'mos'.
> msDrawRasterLayerGDAL(): Memory allocation error. Allocating work image
> of size 256x256 failed.
>
> I'm running out of ideas. Can anybody help me, please ?
>
--
Frédéric Junod
Camptocamp SA
More information about the Tilecache
mailing list