[Bug-openmcl] processes not gc'd?
erik at adaptations.com
Sun Feb 29 19:41:07 MST 2004
It looks like the creation of threads leads to a lot of memory
allocation that is not recovered by the gc. Here is a small test
function which creates n threads. I've tried it with n of 100, 1000,
10000, etc. and inspected memory allocation with top, and it just grows
(defun test (n)
(dotimes (i n)
#'(lambda (j) (+ j j)) i)))
I discovered this when doing a test of a web-site-monitoring tool which
uses threads for timouts, and it eventually crashed.
More information about the Bug-openmcl