<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="MSHTML 6.00.2900.2627" name="GENERATOR">
<style></style>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi list (Bart),<br>
<br>
i'm looking at a few thing concerning fastcgi and oracle spatial. <br>
<br>
We're using OracleSpatial10g and fastcgi in a 4.5 compile, actually it
was compiled by Bart van den Eijnden :-) from recent sources<br>
We found that every maprefresh uses more and more memory, it's never
released.<br>
Maybe that this has got something to do with the included error<br>
<br>
fastcgi is supposed to keep open connections, but i think it does
something more.<br>
just now i stopped apache and memoryusage dropped from 2.5Gb to 300Mb
....<br>
<br>
<br>
<br>
<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?><br>
<!DOCTYPE ServiceExceptionReport SYSTEM
<a class="moz-txt-link-rfc2396E" href="http://schemas.opengeospatial.net/wms/1.1.1/exception_1_1_1.dtd">"http://schemas.opengeospatial.net/wms/1.1.1/exception_1_1_1.dtd"</a>><br>
<ServiceExceptionReport version="1.1.1"><br>
<ServiceException><br>
msDrawMap(): Image handling error. Failed to draw layer named
&#39;hn_auto&#39;.<br>
msOracleSpatialLayerWhichShapes(): OracleSpatial error. <b>Cannot
allocate items buffer</b><br>
</ServiceException><br>
</ServiceExceptionReport><br>
<br>
<br>
i found this in the archives
(<a class="moz-txt-link-freetext" href="http://mapserver.gis.umn.edu/wilma/mapserver-dev/0409/msg00149.html">http://mapserver.gis.umn.edu/wilma/mapserver-dev/0409/msg00149.html</a>)
where the error is 'thrown'<br>
<br>
> /* allocate enough space for items */
<br>
> if (layer->numitems > 0) {
<br>
> layerinfo->items = (item_text_array *)malloc( <br>
> sizeof(item_text_array) * layer->numitems );
<br>
> if (layerinfo->items == NULL) {
<br>
> msSetError( MS_ORACLESPATIALERR,
<br>
> "Cannot allocate items buffer",
<br>
> "msOracleSpatialLayerWhichShapes()" );
<br>
> return MS_FAILURE;
<br>
<br>
<br>
</body>
</html>