MapServer 4.10.1 Memory Leak still exists

David Martin david at ITBEYOND.COM.AU
Fri Apr 20 02:50:35 EDT 2007


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