Global Mapper v26.0

After a second run it works

gghiggini
gghiggini Global Mapper User

I have scripts repeating several hundreds time the same group of functions like this:

IMPORT FILENAME="file1.SHP" TYPE=SHAPEFILE

.....editing operations.....

EXPORT_VECTOR FILENAME="file3.SHP" TYPE=SHAPEFILE SHAPE_TYPE=AREAS GEN_PRJ_FILE=YES POLYGON_CROP_FILE="file2.SHP" POLYGON_CROP_USE_ALL=YES

UNLOAD_ALL

The script load a file, do some editing then export it while performing a crop with another file.

Then UNLOAD_ALL and restart from the beginning with anther set of files.

Sometimes the final crop does not work.

But if I extract that portion of the script into a separate file and run it, then it works (so I am not able to replicate the problem and send a request of support to geohelp).

It looks like GM after some time running a script have some problems...memory leak ?

Do you have any suggestion to avoid this?

I also tried reducing the Script size, but it seems a random problem.

Thanks for your help.

Giorgio