I can post the code later on tomorrow, that's not really an issue. Eventually I do run out of memory on the system, there is currently 512MB assigned but I can go to 1GB. Threads are killed using a signal which calls threads->exit(). I'm not really sure this is part of the issue though, since again the issue is present in just that small piece of code, and I don't kill threads there, I just detach them.
I guess what you are saying is this is basically just how memory management is in PERL? How else would you deal with a long running application using threads not eating up all the memory?
And, of course, thank you!
In reply to Re^6: ithreads memory leak
by DNAb
in thread ithreads memory leak
by DNAb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |