There is no way to specifically tune the memory used by Perl.
Consult with your system administrator about existing ulimits.
Also, consider whether your Perl is built for a 32-bit architecture. If so, it can't use more than 3 GB of memory in total.
Consider whether you really, really need to slurp the whole file into memory to do your change.
In reply to Re: Out of memory
by Corion
in thread Out of memory
by sandy105
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |