On Fri, Dec 14, 2012 at 09:34:06PM +0800, P Purkayastha wrote:
> 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)

I have 5Gb. Maxima eats up the memory very fast; so if you use a
ulimit you need to set it high enough, or to look quick, if you want
to have a chance to see the maxima process before it gets killed by
the system because it has reached the memory limit. Here is the test I
used:

        ulimit  -v 2500000
        make truc; sleep 1; ps auxww | grep maxima; killall maxima
        /opt/sage-5.2/sage crash-maxima.sage
        nthiery  27354  128 15.7 1326916 1284668 ?     Rs   14:49   0:01 
/opt/sage-5.2/local/lib/maxima/5.26.0/binary-ecl/maxima -- 
--userdir=/home/nthiery/.sage/maxima -p /opt/sage-5.2/local/bin/sage-maxima.lisp

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

-- 
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