<

Question: "restart" maple during a run

Hi

I seem to be running into problems with too much memory use during a large loop leading to maple stopping due to "loss of kernel connectivity".

 

At the moment I am "resolving" this by saving the variables that I need to continue with the run. Closing down maple manually and opening it again then restarting the loop from the index where I left off. Restarting resets the memory and I can run the code for another 1000 loops or so until I have to repeat the process.

 

Is there anyway to automate this -i.e. when the index gets to 1000, export the important variables. Restart maple, import the relevant variables and restart the loop?

 

thanks

Please Wait...