On Sat, Sep 10, 2005 at 07:10:26PM -0700, Garry wrote: > I've attached a program that simulates the problem I'm experiencing. > Basically, as I spawn and join threads in a long > running program, I appear to leak away memory. The program shows how this > leak manifests itself. It shows the leak on version 5.8.6.
I can reduce the leak to this astonishingly small test case: use threads; sub ThreadRoutine {} while (1) { $thread = threads->new(\&ThreadRoutine); $thread->join; } This leaks like a sieve on 5.8.1+ and bleedperl (but not on 5.8.0 funnily enough). I haven't got time at the moment to investigate further (lots of other things I should be doing). -- Standards (n). Battle insignia or tribal totems.