[mapserver-users] Re: VRT memory usage (from C# Mapscript)

Lisa Gaudette lgaudette at ehealthinformation.ca
Fri Sep 3 11:17:27 EDT 2010



Frank Warmerdam wrote:
> 
> Lisa,
> 
> In recent versions of MapServer an effort is made to keep GDAL files open
> between render requests for raster layers with a single file as opposed
> to a tile index.  I wonder if you might be running into a problem with
> this behavior in a long running mapscript script.  I don't understand
> the whole context in which you are operating so I could be off base.  But
> you might consider adding:
> 
>    PROCESSING "CLOSE_CONNECTION=NORMAL"
> 
> to your raster layer to force the files to be closed at the end of a
> render.
> 

That seems to fix it. Is there any way to set that option globally when
compiling?
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/VRT-memory-usage-from-C-Mapscript-tp5491654p5495733.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list