Hi Everyone,
I'm using mapscript.jar in Java project.When I use the DrawMap.java
examples in my Java Application,the Memory will not increase,the codes is below:
for (i=0; i<1000; i++) {
mapObj map = new mapObj("mymapfile.map");
imageObj img = map.draw();
img.delete();
map.delete();
}
but When I use the code in my servlet project,the memory will increase very
fast the code is below:
mapObj map = new mapObj("mymapfile.map");
imageObj img = map.draw();
img.img.getBytes();
img.delete();
map.delete();
can anyone tell me how to solve the problem?thank you very much!
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users