My multithreaded screen scraper runs for hours and gets slower, and slower
and slower.
I think I have a memory leak.
I have a large set of nest hash tables. That is to say, I have hash tables
inside of hash tables inside of hash tables etc...
For example, I have
$mIndustry{$sCurrentIndustry}{mCompanies}{$sCurrentCompany}{mJobs}{$sJobTitl
e}{count};
In an attempt to reclaim memory, I say
$mIndustry{$sCurrentIndustry} = undef;
This does not seem to help. Should it have released the memory being used by
the $sCurrentIndustry branch?
If not, why not?
I have a print statement to verify that I am indeed executing that
statement, but my machine remains very sluggish until I exit the program. I
have to restart the program frequently.
Thanks,
Siegfried
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>