in reply to Data::Dumper Limitations
I have run into this problem. When the data structure went above a certain size, the memory consumption went through the roof.
The solution/workaround is this:
local $Data::Dumper::Useqq = 1;
This will (among other things, perldoc it) make it use the pure Perl implementation which doesn't seem to have this problem.
Ok, it's slower for small data structures (so who cares?), but it works for large ones.
/J
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: (Solution) Re: Data::Dumper Limitations
by demerphq (Chancellor) on Nov 01, 2002 at 13:14 UTC |
In Section
Seekers of Perl Wisdom