[Maxima] Maxima heap size

Michel Talon talon at lpthe.jussieu.fr
Mon Jul 6 08:14:13 CDT 2009


Hello,

I am running out of heap size with maxima compiled with cmucl (running on
Linux). I get 

*A2 gc_alloc_large failed, nbytes=248.
 CMUCL has run out of dynamic heap space (512 MB).
  You can control heap size with the -dynamic-space-size commandline option.

I have tried to do that, but it doesn't seem to work. I only get the
following, but i don't recover the prompt:

hercule%  bin/maxima -v "-dynamic-space-size 1632"
+ '[' cmucl = clisp ']'
+ '[' cmucl = cmucl ']'
+ '[' true = true ']'
+
exec /ada1/lpthe/talon/maxima/lib/maxima/5.18.1/binary-cmucl/lisp -quiet -core /ada1/lpthe/talon/maxima/lib/maxima/5.18.1/binary-cmucl/maxima.core -eval '(cl-user::run)' -- -v '-dynamic-space-size
1630' '' '' '' '' '' '' ''
maxima-prefix=/ada1/lpthe/talon/maxima
maxima-imagesdir=/ada1/lpthe/talon/maxima/lib/maxima/5.18.1/binary-cmucl
maxima-sharedir=/ada1/lpthe/talon/maxima/share/maxima/5.18.1/share
maxima-srcdir=/ada1/lpthe/talon/maxima/share/maxima/5.18.1/src
maxima-demodir=/ada1/lpthe/talon/maxima/share/maxima/5.18.1/demo
maxima-testsdir=/ada1/lpthe/talon/maxima/share/maxima/5.18.1/tests
maxima-docdir=/ada1/lpthe/talon/maxima/share/maxima/5.18.1/doc
maxima-infodir=/ada1/lpthe/talon/maxima/info
maxima-htmldir=/ada1/lpthe/talon/maxima/share/maxima/5.18.1/doc/html
maxima-plotdir=/ada1/lpthe/talon/maxima/libexec/maxima/5.18.1
maxima-layout-autotools=T
maxima-userdir=/ada1/lpthe/talon/.maxima
maxima-tempdir=/ada1/lpthe/talon
maxima-lang-subdir=NIL
maxima-objdir=/ada1/lpthe/talon/.maxima/binary/binary-cmucl



If i remove the -dynamic-space-size 1632, then i get the maxima prompt.

Could you help me to do the proper invocation? By the way i know that the
computation is very big and i am willing to wait several hours to get the
result. Going to 512 Megs takes around an hour, and then crash ...

Thanks a lot.


-- 
Michel Talon



More information about the Maxima mailing list