Re: [sage-support] Condition of type: STORAGE-EXHAUSTED

2019-12-20 Thread TAU
On Fri, 20 Dec 2019, Mattia Villani wrote: > Here is my script: In my test the code seems to really eat much memory, so maybe it's not about changing allocation between heap and stack. Maybe you just run out of memory. Have you tried to run top-command (or gnome-system-monitor or something) w

Re: [sage-support] Condition of type: STORAGE-EXHAUSTED

2019-12-20 Thread Mattia Villani
Here is my script: print("Initialization of manifold, chart, and metric. Definitions of constants.") M=Manifold(4,'M',structure='Lorentzian') X. = M.chart(r"t r:(0,+oo) th:(0,pi):\theta ph:(0,2*pi):\phi") (m,L,A,alpha,beta,r,th)=var('m,L,A,alpha,beta,r,th') def G(r): return 1-alpha*(1-exp(

Re: [sage-support] Condition of type: STORAGE-EXHAUSTED

2019-12-20 Thread TAU
On Thu, 19 Dec 2019, Mattia Villani wrote: > Condition of type: STORAGE-EXHAUSTED > Changing the program problably is not the solution, since I am calculating > the Kretschmann scalar of a metric, which is the square of the curvature What function are you using? For example S

[sage-support] Condition of type: STORAGE-EXHAUSTED

2019-12-20 Thread Mattia Villani
I got the error Condition of type: STORAGE-EXHAUSTED while running my program. After some Googling I have found that it means that my program has reached the memory limit. My question is: how to incr

[sage-support] How to increase the memory that SageMath can use?

2019-12-20 Thread Mattia Villani
While running my program (after a few hours of computation), Sage threw the error Condition of type: STORAGE-EXHAUSTED After some Googling i have found out that this is due to the fact that Sage ha