While running my program (after a few hours of computation), Sage threw the error
After some Googling i have found out that this is due to the fact that Sage has reached the memory limit. My program calculates the Kretschmann scalar of some metric: this scalar is the square of the curvature tensor, which has 256 components so the number of terms quickly explodes, so it is not a problem of the program being ill written and changing it probably won't be the solution of the problem.
How do I increase the memory limit for Sage so that I can conclude my calculations?
I use SageMath 8.9 on the most recent version of CentOs and on a Ubuntu 16.04, both 64 bytes.