Memory leak during compilation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
New
|
Undecided
|
Unassigned |
Bug Description
When trying to compile the attached file multiple times, sbcl run out of
memory (ldb appears). The number of compilations depends on
dynamic-space-size. These results seem strange, but I am able to
reproduce them...
* sbcl launched with </path/to/sbcl> --dynamic-
* Compilations launched with (dotimes (i 1000) (print i) (finish-output) (load "test-perf"))
Here is the result :
(<memory> : <number of compilations before failing, with sbcl 2.0.3 / sbcl 2.0.5)
- 2048 : 1/1
- 2500 : 1/1
- 3072 : 32/36
- 3500 : 7/4 (in that order)
- 4096 : 10/10
- 5000 : 47/(stopped after 1000)
----
SBCL 2.0.5
Linux yggdrasil 5.7.7-arch1-1 #1 SMP PREEMPT Wed, 01 Jul 2020 14:53:16 +0000 x86_64 GNU/Linux
What is the DEBUG optimization setting? There have been cases where that's caused a blowup in memory.