in reply to Threading - Conceptual Question About Use Of Array
A forked solution is good, because all memory is released back to the system when the forked process ends. See LWP::Parallel::UserAgent and Parallel::ForkManager. You can also search for scripts using these on groups.google.com.
Anyways, before you think threads have solved your problem, watch it's memory usage as it runs. If it slowly gains, you have a problem with it.
|
|---|