One thing you could try is actually spawning a new process rather than using Perl's thread-based fork(). I believe you do that with Win32::Process. You could spawn a separate process to copy each file, which might help keep memory use under control.
-sam
In reply to Re^5: Lots of memory usage with fork©
by samtregar
in thread Lots of memory usage with fork©
by andreidf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |