> 
> When running a moderately complicated calculation in FriCAS I get the
> following abort:
> 
> wspage@suse:~> fricas -nosman
> 
> (1) -> )r poirier.input
>
<snip> 
>    Total bytes allocated    = 1073056080
>    Dynamic-space-size bytes = 1073741824
<snip>
> I am used SBCL 1.1.5 to build FriCAS.
> 
> wspage@suse:~> sbcl --version
> SBCL 1.1.15
> 
> --
> 
> Is there some way to dynamically change the memory allocation?

AFAIK no.  More precisely, at startup sbcl core processes
arguments, includingrequest for memory allocation.  At
this point one can give argument requesting different allocation.
However FriCAS uses sbcl ability  to create executables.
IIUC in executable core arguments are either all hardcoded or
all given on command line.  Currently we need to hardcode
some arguments, which in turn means that all are hardcoded.
> I tried changing the 'fricas' script
> 
> if [ "$*" = "-nosman" ] ; then
>     exec "$AXIOM/bin/AXIOMsys" -- --dynamic-space-size "4Gb"
>     exit 1
> fi
> 
> to pass "dynamic-space-size" but this does not seem to have any effect.

Yes.

> Can I build FriCAS from SBCL to provide more memory by default?

One can specify '--dynamic-space-size' argument during _sbcl_
build to get different default.a  After that executables
build using this sbcle will have different memory allocation.

-- 
                              Waldek Hebisch
[email protected] 

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to