From: Stanislaw H. <sth...@te...> - 2007-11-14 01:42:29
|
Executing (loop (sb-thread:join-thread (sb-thread:make-thread (constantly 42)))) yields an error: mmap: Cannot allocate memory debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial thread" {A84D719}>: Can't create a new thread after a few thousand iterations. Invoking either a GC or an even only nanosecond-long SLEEP causes the error to go away and lets the loop run for an indefinite period of time. My concern is that the same condition may occur in real programs, in cases where there is much thread spawning, but little to no consing. -- /\ / Jabber ID :: st...@ja... \ \/ Unix stuff :: http://tehran.lain.pl \/\ Yet Another RBL :: http://rbl.lain.pl |