compile exhausts heap but load does not
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I have run into a situation where loading a file works but compiling the same file causes heap exhaust.
I originally found this writing tests using the "prove" library ( https:/
).
In particular, using deftest about 1000 times in a file.
Basically each deftest consumes 1+MB of memory but during loading the GC recovers a lot of it where as during compiling the GC recovers very little.
I created a test project called prove-fail https:/
to demonstrate the error. And I created an issue here: https:/
I since tried to eliminate the prove library and have created a test project here:
https:/
This does not depend on prove but emulates it.
This repository also contains log files of the slime REPL and inferior lisp. for both 1.3.3 and the developmental version.
$ sbcl --version
SBCL 1.3.3
$ uname -a
Linux andypc 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
*features*
(:SWANK :QUICKLISP :SB-BSD-
:ASDF3 :ASDF2 :ASDF :OS-UNIX :NON-BASE-
:64-BIT-REGISTERS :ALIEN-CALLBACKS :ANSI-CL :ASH-RIGHT-VOPS
:C-STACK-
:COMPLEX-
:FP-AND-
:INTEGER-EQL-VOP :INTERLEAVED-
:LITTLE-ENDIAN :MEMORY-
:OS-PROVIDES-
:OS-PROVIDES-POLL :OS-PROVIDES-PUTWC :OS-PROVIDES-
:PACKAGE-
:SB-AFTER-XC-CORE :SB-CORE-
:SB-PACKAGE-LOCKS :SB-SIMD-PACK :SB-SOURCE-
:SB-UNICODE :SB-XREF-
:STACK-
:STACK-
:UNIX :UNWIND-
Changed in sbcl: | |
status: | New → Incomplete |