You can build with

    ./configure --with-lisp="sbcl --dynamic-space-size 4096"

BTW, I believe parallel build is not a problem anymore, can you
enable it for Gentoo?

- Qian

On 1/10/24 17:34, Andrey G. Grozin wrote:
Hello *,

I'm trying to build fricas-1.3.10 with sbcl-2.4.0 on Gentoo Linux, and I get

; compiling file "/var/tmp/portage/sci-mathematics/fricas-1.3.10/work/fricas-1.3.10/pre-generated/src/algebra/RSIMP.lsp" (written 09 JAN 2024 10:48:55 PM): Heap exhausted during garbage collection: 32768 bytes available, 32784 requested.
         Immobile Object Counts
 Gen layout fdefn symbol   code  Boxed   Cons    Raw   Code  SmMix Mixed LgRaw LgCode  LgMix Waste%       Alloc        Trig   Dirty GCs Mem-age   1      0      0      0      0    210     80  12806      0     10 25 0      0      0   48.9   219909472    10737418   13131   0  1.0217   2      0   1376      0      0   2645    651   5652      3     68 416 0      0     81   27.9   224818880    17375962    5749   1  0.2565   3      0      0      0      0      0      0      0      0      0 0 0      0      0    0.0           0     2000000       0   0  0.0000   4      0      0      0      0      0      0      0      0      0 0 0      0      0    0.0           0     2000000       0   0  0.0000   5      0      0      0      0      0      0      0      0      0 0 0      0      0    0.0           0     2000000       0   0  0.0000   6    786  23661  26541  25734    424    133     13      3     32 17 0      0     63    2.3    21922912     2000000      26   0  0.0000   7      0      0      0      0    203     63   9158      0      7 4 0      0      0   48.5   159160480     2000000    9435   0  0.0000 Tot    786  25037  26541  25734   3482    927  27629      6    117 462 0      0    144   41.7   625810912 [58.3% of 1073741824 max]
GC control variables:
    *GC-INHIBIT* = true
    *GC-PENDING* = true
    *STOP-FOR-GC-PENDING* = false
Collection trigger variables:
    dynamic_space_size = 1073741824
    bytes_allocated = 625810912
    auto_gc_trigger = 484526147
    bytes_consed_between_gcs = 53687091
fatal error encountered in SBCL pid 3144 tid 3144:
Heap exhausted, game over.

Welcome to LDB, a low-level debugger for the Lisp runtime environment.
(GC in progress, oldspace=1, newspace=7)
ldb>

Any idea how to increase the memory for sbcl? My notebook has 16 Gb memory, hope this is enough.

Andrey


--
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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/f24e7244-ad31-4c80-b10d-a99481108b06%40gmail.com.

Reply via email to