|Don't ask to ask, just ask|
Re^4: In need of a Dumper that has no pretentions to being anything else.by BrowserUk (Pope)
|on Feb 23, 2005 at 03:20 UTC||Need Help??|
Okay. Try this:
Add whatever Dumper options you like. Prior to the Dump, this hash with somewhat under 500,000 keys and a smallish array for each value consumes ~ 177 MB of ram.
Attempting to dump it pushes that memory consumption (transiently on Win32) to well over
My real hash has close to a million keys and nested arrays. It consumes over 500 MB to start with. Trying to dump it blows 2GB of virtual memory before it crashes Perl--and the time taken even before swapping starts is measured in the half-lifes of Plutonium. I'd like to avoid both. I just need to be able to dump the structure to a file. Preferably in a reasonably compact format.
Examine what is said, not who speaks.
Silence betokens consent.
Love the truth but pardon error.