On Thu, Jan 11, 2024 at 08:38:33AM +0800, Qian Yun wrote:
> Hi Andrey, Nasser:
>
> This is the SBCL command to check heap size:
>
> * (sb-ext:dynamic-space-size)
> 1073741824
>
> Also note that this is wrong:
> sbcl --dynamic-space-size=40Gb
> sbcl --dynamic-space-size=4096
>
> This is correct:
> sbcl --dynamic-space-size 4096
>
> * (sb-ext:dynamic-space-size)
> 4294967296
>
> Please verify that you passed the correct
> '--with-lisp="sbcl --dynamic-space-size 4096"'
> to ./configure.
There is possible confusion, when building sbcl
--dynamic-space-size=4Gb
is the correct way, see sbcl INSTALL:
: To configure SBCL with a non-standard default dynamic-space size,
: use the --dynamic-space-size option:
:
: $ sh make.sh --dynamic-space-size=4Gb
OTOH, on sbcl command line
--dynamic-space-size 4Gb
is the correct way.
AFAICS wrong way does not cause abort, so one may get quite far
without noticing that memory setting was ignored.
There is something messed up, to see what happened it would be
good to check is new buld sbcl has expected memory limit using
command that Qian gave, and if yes follow suggestion from Ralf
to give '--with-lisp' option to FriCAS configure.
FriCAS build log indicates that sbcl still has default memory
limit, so either wrong sbcl (but log indicates 2.4.0) or
something happened during sbcl build (but sbcl build log at
first glance looks OK).
--
Waldek Hebisch
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/ZZ9j2dxjhxztFfAz%40fricas.org.