[mapserver-users] Memory allocation error

Alexandre Saunier alexandre.saunier at camptocamp.com
Wed Nov 24 10:26:44 EST 2010


Hello,

when trying to generate a map via WMS, MapServer returns the following
error above some width/height:

<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM
"http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1">
<ServiceException>
msDrawMap(): Image handling error. Failed to draw layer named
&#39;csraster_50k_192&#39;.
msDrawRasterLayerGDAL(): Memory allocation error. Allocating work
image of size 1093x930x3 failed.
</ServiceException>
</ServiceExceptionReport>

It looks like a memory problem but the requested map size is not so
huge. csraster_50k_192 data are composed of about 50 1-to-4MB ECW
tiles. MapServer version is 5.6.5. GDAL version is 1.7.2. OS is Debian
Lenny.

Has anyone a hint about what may cause the problem? Is there some
memory setting that could be increased?

Thanks for your help!
Alexandre


More information about the mapserver-users mailing list