[Ecls-list] [sage-support] Memory issues with maxima in SAGE

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Mon Aug 17 09:26:45 UTC 2009


On Mon, Aug 17, 2009 at 10:57 AM, William Stein<wstein at gmail.com> wrote:
> Note that Sage's Maxima uses ECL.  So the basic question is, how can
> we increase the memory that Maxima + ECL can use?

The limits ECL has are by default too small for big applications, but
it is intentionally done so. However, changing them is pretty easy:
add a call to ext:set-limit in any file of maxima that forms part of
the final executable.

The different memory limits that can be independently controlled are listed here
     http://ecls.sourceforge.net/new-manual/re34.html
So for instance, in your case, which hits the dynamically allocated
memory limit, you might add the following
     (ext:set-limit 'ext:heap-size (* 1024 1024 1024))
to maxima/src/ecl-port.lisp in order get 1GB memory limit.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list