Open Pieberius opened 4 years ago
I have noticed this too and is the major cause of our issues also. It appears to be an inherent downside of Perl which isn't very good at handing used memory back to the OS. I have found that the script has a continue option. use --continue and then world name. This way every time the script crashes you can restart from where it left off. In Linux you can create a shell script to run the program again every time it crashes.
cd "/directory/to/geocraft-master"
while true;
do ./generate-world -ll --from x,y --to x,y --yshift 62 --continue London
done
After attempting to generate a substantial size map I get segmentation fault core dumped error and the script stops running. Seems like a memory leak however not being familiar with the code and perl in general I am unsure where to look to find the leak.