|We don't bite newbies here... much|
Perl memory limit - Windows64 strawberry perlby sectokia (Scribe)
|on Mar 18, 2021 at 00:17 UTC||Need Help??|
sectokia has asked for the wisdom of the Perl Monks concerning the following question:
I am using 'strawberry-perl-126.96.36.199-64bit.msi' on Windows 64bit (tried Windows10 and Server2012) to process some data files, which requires some very large hashes.
On all system I have tried perl throws "Out of memory!" to console and dies once perl.exe hits about 2.6 to 2.8GB of memory. It seems to run fine if I limit the input slightly to prevent it reaching beyond about 2.4GB
Perl -v says 'This is perl 5, version 32, subversion 1 (v5.32.1) built for MSWin32-x64-multi-thread'
Is perl somehow restricted to 32bit virtual memory limits? I was hoping to be able to go to at least 8GB.