|P is for Practical|
Re^3: XML::Twig and threadsby BrowserUk (Pope)
|on Nov 26, 2012 at 16:11 UTC||Need Help??|
So you are right - 2 minutes is not much time. What worries me is 3.5GB RAM
I'll bet £1 to 1p that if you comment out the use threads;, the memory consumption will barely change.
It is not at all uncommon for a 100MB XML file to translate into 3.6GB of ram requirement once it has been parsed and the equivalent data structure constructed.
The memory requirement has nothing to do with threading. Just Perl's well-known tendency to trade memory for cpu.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.