![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re: Does Perl have a baked-in memory llimit?by Anonymous Monk |
on Nov 12, 2023 at 17:48 UTC ( [id://11155580]=note: print w/replies, xml ) | Need Help?? |
As another attempt for rational explanation (silly thing without code sample and error message), you may have inadvertently put call to slurp into list context, like: my $json = JSON->new->decode( read_file($file) );which then tries to split 5e8 bytes to presumably quite short lines, and may consume a few of 1e9 bytes of RAM long before JSON complains about wrong usage.
In Section
Seekers of Perl Wisdom
|
|