Closed FrankRuben closed 4 years ago
What version of SBCL are you using? What arguments were passed when starting SBCL?
Hi,
I'm on SBCL 1.2.11 on Ubuntu 14.04.
I'm starting sbcl as "sbcl --dynamic-space-size 2750 --no-linedit --load /home/frank/quicklisp/setup.lisp"
.
And I'm loading cl-ml using (ql:quickload :clml :verbose t)
. Usually the compile runs for some time and stops, once I enter a key, it will give me an error about exhausted memory (cannot reproduce currently - my notebook again decides to die before, but it's somewhere in an ldb
shell).
More info required?
Regards, Frank
I believe the lapack system was problematic in 1.2.11. Is it possible for you to try with the current version of SBCL? Perhaps something on the 1.3 branch?
I'm using roswell, and have the same problem: on mac os x
CL-USER> (machine-instance)
"Antonios-MacBook-Pro.local"
CL-USER> (machine-type)
"X86-64"
CL-USER> (machine-version)
"Intel(R) Core(TM) i7-3540M CPU @ 3.00GHz"
CL-USER> (software-type)
"Darwin"
CL-USER> (software-version)
"15.5.0"
CL-USER> (lisp-implementation-type) "SBCL" CL-USER> (lisp-implementation-version) "1.3.5" CL-USER> (ql:quickload :clml) To load "clml": Load 1 ASDF system: clml ; Loading "clml" .. with this condition and restart:
CLML.LAPACK-ENVIRONMENT::DYNAMIC-HEAP-SPACE-TOO-SMALL does not designate a condition class. [Condition of type SIMPLE-TYPE-ERROR]
Restarts: 0: [RETRY] Retry compiling #<CL-SOURCE-FILE "clml.lapack-real" "package">. 1: [ACCEPT] Continue, treating compiling #<CL-SOURCE-FILE "clml.lapack-real" "package"> as having been successful. 2: [RETRY] Retry ASDF operation. 3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration. 4: [ABORT] Give up on "clml" 5: [*ABORT] Return to SLIME's top level. 6: [ABORT] abort thread (#<THREAD "repl-thread" RUNNING {1005100003}>)
Backtrace:
0: (SB-KERNEL:ALLOCATE-CONDITION CLML.LAPACK-ENVIRONMENT::DYNAMIC-HEAP-SPACE-TOO-SMALL :TEXT "Durring compilation with SBCL this system requires that the heap space be set to 2560 or greater. ..)
1: (MAKE-CONDITION CLML.LAPACK-ENVIRONMENT::DYNAMIC-HEAP-SPACE-TOO-SMALL :TEXT "Durring compilation with SBCL this system requires that the heap space be set to 2560 or greater. ..)
2: (ERROR CLML.LAPACK-ENVIRONMENT::DYNAMIC-HEAP-SPACE-TOO-SMALL :TEXT "Durring compilation with SBCL this system requires that the heap space be set to 2560 or greater. ..)
3: (CLML.LAPACK-ENVIRONMENT::CALL-WITH-ENVIRONMENT #<CLOSURE (LAMBDA (&REST ASDF/LISP-ACTION:FLAGS) :IN ASDF/LISP-ACTION:PERFORM-LISP-COMPILATION) {1003046FCB}>)
4: (ASDF/LISP-ACTION:PERFORM-LISP-COMPILATION #<ASDF/LISP-ACTION:COMPILE-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "clml.lapack-real" "package">)
5: ((SB-PCL::EMF ASDF/ACTION:PERFORM) #
with clozure common lisp 1.11 it works as expected
just had the same problem here, after increasing the sbcl dynamic memory, it built succesfully
perhaps this should be added to the README/INSTALL?
Addressed both issues: In branch issue-10-Erroneous-error-reporting-for-unsufficient-heap-1 the missing condition was added In branch issue-10-Erroneous-error-reporting-for-unsufficient-heap roswell instructions for increasing dynamic heap space is sbcl was added. Both branches merged to head
I also had similar issues on an old laptop similar to OP. I forgot that I had these lines in my ~/.sbclrc file:
(setf *read-default-float-format* 'double-float)
(declaim (optimize (speed 0) (safety 3) (debug 3)))
After commenting out the above lines, the build was quick.
I think solutions for this issue have been sufficiently discussed
Hi, trying to compile w/o increasing heap size for sbcl will not report an error, but an error for unknown condition class
dynamic-heap-space-too-small
:Replacing the error reporting w/
(error "dynamic-heap-space-too-small" ...)
solves that. Also the suggested 2560 MB seem to be no longer sufficient. I increased up to 2750, where it still didn't compile (stopping now, since it's a pain on my ages-old x201). Anyway very cool project, so thanks for all your effort. I'll be back w/ my shiny new notebook soon ;) Regards, Frank