Huub hfl at HOME.NL
Wed Apr 27 08:22:37 EDT 2005

Hi list (Bart),

i'm looking at a few thing concerning fastcgi and oracle spatial.

We're using OracleSpatial10g and fastcgi in a 4.5 compile, actually it
was compiled by Bart van den Eijnden :-) from recent sources
We found that every maprefresh uses more and more memory, it's never
Maybe that this has got something to do with the included error

fastcgi is supposed to keep open connections, but i think it does
something more.
just now i stopped apache and memoryusage dropped from 2.5Gb to 300Mb ....

<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM
<ServiceExceptionReport version="1.1.1">
msDrawMap(): Image handling error. Failed to draw layer named
msOracleSpatialLayerWhichShapes(): OracleSpatial error. *Cannot allocate
items buffer*

i found this in the archives
where the error is 'thrown'

 > /* allocate enough space for items */
 > if (layer->numitems > 0) {
 > layerinfo->items = (item_text_array *)malloc(
 > sizeof(item_text_array) * layer->numitems );
 > if (layerinfo->items == NULL)  {
 > "Cannot allocate items buffer",
 > "msOracleSpatialLayerWhichShapes()" );
 > return MS_FAILURE;

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the mapserver-dev mailing list