When running a moderately complicated calculation in FriCAS I get the
following abort:
wspage@suse:~> fricas -nosman
(1) -> )r poirier.input
...
Heap exhausted during garbage collection: 0 bytes available, 16 requested.
Gen StaPg UbSta LaSta LUbSt Boxed Unboxed LB LUB !move Alloc
Waste Trig WP GCs Mem-age
0: 0 0 0 0 0 0 0 0 0 0
0 10737418 0 0 0.0000
1: 28472 0 0 0 10885 0 0 0 0 356556432
123248 222028954 0 1 1.3874
2: 32767 0 0 0 19681 24 0 0 118 645130944
562496 2000000 12514 0 0.8810
3: 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 2000000 0 0 0.0000
5: 0 0 0 0 0 0 0 0 0 0
0 2000000 0 0 0.0000
6: 0 0 0 0 1916 262 0 0 0 71368704
0 2000000 1807 0 0.0000
Total bytes allocated = 1073056080
Dynamic-space-size bytes = 1073741824
GC control variables:
*GC-INHIBIT* = true
*GC-PENDING* = true
*STOP-FOR-GC-PENDING* = false
fatal error encountered in SBCL pid 21277(tid 140737353844480):
Heap exhausted, game over.
Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb> q
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?
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.
Can I build FriCAS from SBCL to provide more memory by default?
Bill Page.
--
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.