MapServer 4.10.1 Memory Leak still exists

Tamas Szekeres szekerest at GMAIL.COM
Sun Apr 22 10:52:36 PDT 2007


David,

Would you file a bug report and send your mapfile and shape data and
the input data of the test you've executed? I will try to locate the
problem then.  With the information you have provided I'm not really
sure whether the problem is related to the mapserver core, the C#
interface or the ASP.NET execution environment.

The bug submission page for mapserver is:
http://trac.osgeo.org/mapserver/newticket

As prowling in the code I've also found potential leakage issues like
described at:
http://trac.osgeo.org/mapserver/ticket/1545
and there are also some other bug reports related to the memory problems.

Anyway it would be quite an useful to isolate the portion of the code
causing this particular issue.

Best regards,

Tamas



2007/4/20, David Martin <david at itbeyond.com.au>:
> Umberto,
>
> The data type is shape. The number of active layers depends on zoom level
> however in the map file there is a total of 39 layer definitions, with between
> 10 and 30 active at any one time. The queries are run only in one layer.
>
> I have done some more work on the system and improved the operation by
> caching commonly used images. You can have a look at the application live if
> you wish - it is an infant however running live (I note it is crashed at the
> moment so must recycle app pool - which is in the process of being done). To
> see it running visit http://www.exploroz.com/Places/Find/CaravanPark.asp?
> ms=1 - The initial map is cached so use mouse and draw a box to run a query -
>  you will either see the crash message or a refined result set.
>
> The application is running on a Win 2003 server so no access to Linux tools. I
> have been using the same .map file with the CGI interface for a few years and
> never had problem at all.
> I note that I can run the cgi mapserver process after the system has reported
> the .net memory allocation error. A sample of the CGI interface using the
> same .map file is as follows http://www.exploroz.com/cgi-
> bin/MapServer/MapServ.exe?mode=browse&map=e:\\inetpub\\vs126169
> \\iMapPlot\\map\\ExplorOzBase.map&map_PointRef_feature=new&map_PointRef
> _feature_points=153.5136%20-27.4211&map_PointRef_feature_text=Adder%
> 20Rock&mapext=152.7636%20-28.1711%20154.2636%20-
> 26.6711&themode=zoomin&MapLabel=Show%20Me%20-%20Adder%20Rock%
> 20-27.4211%20153.5136
>
> Any help would be appreciated.
>
> Regards
> David Martin
>



More information about the MapServer-users mailing list