threads-shared - Re: Thread memory not being released.

Posted on Thu Nov 30 01:59:06 2006 by jdhedden in response to 3663 (See the whole thread of 5)
Re: Thread memory not being released.
As I mentioned before, you need to make sure your threads are being cleaned up at some point:
$thread[$identifier]->join(); delete($thread[$identifier]);
Also, you may need to do something similar with $AnsibleThread:
$AnsibleThread->join(); undef($AnsibleThread);
Direct Responses: 3665 | Write a response