Lisp HUG Maillist Archive

Possible leak compiling lambdas

Note:  I realize this may be a misunderstanding on my part about
clean-down; but need more advice to proceed
Lispworks 32/Win32


(hcl:clean-down)
(loop for i from 1 to 100000 do (eval `(compile nil (lambda () (* 3 3)))))
(hcl:clean-down)

It is important for the lambda to contain a function call (or at
least, something other than trivial value return) for the
"unreclaimable allocation" to manifest itself.  Having the eval return
a nil (progn (compile...) nil) does not mitigate the leak.

Am I doing the most thorough garbage collection possible?  Are there
any errors in my assumptions?

Otherwise, looping the above (eval-compile, then clean-down) appears
to eventually run the process out of ram.

I'm not inclined to write up a bug report before finding out whether
or not I'm just doing this wrong. . . .

Thanks,
Matt


Re: Possible leak compiling lambdas

Unable to parse email body. Email id is 9009

Updated at: 2020-12-10 08:41 UTC