Question 2: For methods 1 and 3, why do i need to synchronize them? If I do not, the script just hangs up usually after only a few seconds.
I can confirm this problem. I believe it to be a bug in Perl. I think it is to do with the implementation of the wait/waitpid emulation on windows which limits the number of concurrent child processes to 64. I'll try to tie that down a bit further tomorrow and raise a perlbug for it if I succeed.
Meanwhile, on the basis of what I've seen of your code, you should probably try MCE for this task.
Anyone got any experience of this phone's predecessor?
In reply to Re: Perl system command memory usage in threads
by BrowserUk
in thread Perl system command memory usage in threads
by rmahin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |