You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Pieberius
changed the title
can't execute "curl"
Memory Leak/Too Much Memory
Feb 20, 2020
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.
The text was updated successfully, but these errors were encountered: