in reply to Perl system command memory usage in threads
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl system command memory usage in threads
by rmahin (Scribe) on Jul 31, 2015 at 23:12 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |