in reply to Out of Memory Error -- Possible Leak?
How much memory do you have? Your data structures are immense. It looks like you have perhaps 100,000,000 arrays in the hash, and even if most are not there you are autovivifying their keys ( scalar(@array) different anonymous hashes) and a reference to an empty array.
All those structures cost fifty-some bytes each plus a hefty multiple of the number of data elements.
I don't see a leak, just prolific use of memory. Can you read and use less of the data at a time?
After Compline,
Zaxo
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Out of Memory Error -- Possible Leak?
by Anonymous Monk on Dec 13, 2005 at 23:56 UTC | |
Re^2: Out of Memory Error -- Possible Leak?
by emilper (Novice) on Dec 14, 2005 at 11:59 UTC | |
by robin (Chaplain) on Dec 15, 2005 at 12:37 UTC | |
by emilper (Novice) on Dec 15, 2005 at 14:55 UTC | |
by robin (Chaplain) on Dec 16, 2005 at 01:31 UTC |
In Section
Seekers of Perl Wisdom