in reply to how apply large memory with perl?

Perl lets the operating system handle large memory situations. You will need to set limits in your operating systems (or remove them) if you want to change how programs get allocated resources like memory. For unixish OSes, there is ulimit.