On 12/14/2012 09:15 PM, Nicolas M. Thiery wrote:
        Hi all,

Upon quitting Sage, Maxima may keep running and eat up all memory (gasp!).
I just created ticket #13831 for this, with the following content:

How to reproduce: In a clean directory, put the following makefile:

     truc:
        /opt/sage-5.2/sage crash-maxima.sage

(editing the location of sage to your local setup)

In a file crash-maxima.sage, put:

     x, y = var('x y')
     desolve_rk4(x*y*(2-y), y, ics=[0,1], end_points=[0, 1], step=0.5)

then type:

     make truc

I did not manage to reduce this further, and in particular to
reproduce the issue without going through make. I tried the obvious
things like checking what had changed in the environment and which
shell was used to run the make recipe.

This is on Ubuntu 11.10, with Sage 5.3, 5.4, 5.4.1, and 5.5.rc0. With
Sage 5.3 the memory seems to be eaten up at a faster speed. A few
colleagues got the same crash on slightly different platforms (it
appeared in our build process for the book Calcul Mathématique avec
Sage).

Cheers,
                                Nicolas
--
Nicolas M. Thiéry "Isil"<[email protected]>
http://Nicolas.Thiery.name/


How much memory do you have? It works here on Gentoo amd64, with a ulimit (didn't want to crash this machine :)):

~/tmp/a» ulimit -t 300 -m 1000 -u 1000 -v 2500000
~/tmp/a» make truc
sage cm.sage
~/tmp/a» echo $?
0
~/tmp/a» cat Makefile
truc:
        sage cm.sage
~/tmp/a» cat cm.sage
x,y = var('x y')
desolve_rk4(x*y*(2-y), y, ics=[0,1], end_points=[0, 1], step=0.5)

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to