Hi Kris,
Thanks, you solved the problem.
For any Maxima users interested in changing the heap size, the following
works:
bash-3.2$ exec '/Applications/Maxima.app/Contents/Resources/maxima.sh' -X
'--dynamic-space-size 2000'
Lisp options: (--dynamic-space-size 2000)
Maxima 5.28.0 http://maxima.sourceforge.net
using Lisp SBCL 1.0.55.0-abb03f9
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1)
--George Leeman
________________________________
From: Kris Katterjohn <katterjohn at gmail.com>
To: George Leeman <george.leeman at sbcglobal.net>
Cc: Maxima <maxima at math.utexas.edu>
Sent: Mon, April 1, 2013 2:38:45 PM
Subject: Re: [Maxima] Increasing Maxima's heap size
On 03/31/2013 06:36 PM, George Leeman wrote:
> This is more a question about SBCL than Maxima. I am running Maxima 5.28.0
> on a MacBook Pro with operating system Max OS X, 10.7.5. To increase heap
> size I use the command as shown below, and adding --end-runtime-options is
> recommended by the SBCL documentation. Was the heap increased to 4Gb? The
> line Lisp options(- ) makes me wonder if the dynamic-space-size option was
> ignored.
> Thanks, George Leeman
>
> bash-3.2$ exec '/Applications/Maxima.app/Contents/Resources/maxima.sh' '-X
> --dynamic-space-size 4000 --end-runtime-options'
> Lisp options: (- )
> Maxima 5.28.0 http://maxima.sourceforge.net
> using Lisp SBCL 1.0.55.0-abb03f9
> Distributed under the GNU Public License. See the file COPYING.
> Dedicated to the memory of William Schelter.
> The function bug_report() provides bug reporting information.
> (%i1)
>
It looks like the problem is in your shell quoting. exec is expecting the
arguments individually, so it's not constructing the proper argument list for
Maxima when you quote them all like that.
Instead, something like
$ exec <your path>/maxima.sh -X '<lisp options>'
may work for you. Notice how -X isn't quoted along with the lisp options.
Cheers,
Kris Katterjohn