# softlimit -m 6000000 perl -le 'use version; print $version::VERSION' 0.96 # softlimit -m 5000000 perl -le 'use version; print $version::VERSION' perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_NUMERIC = "C", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). 0.96 # softlimit -m 3000000 perl -le 'use version; print $version::VERSION' perl: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory #### # softlimit -m 21000000 perl -le 'use version; print $version::VERSION' 0.96 # softlimit -m 20000000 perl -le 'use version; print $version::VERSION' Can't locate version/vpp.pm in @INC (@INC contains: /etc/perl /usr/lib64/perl5/site_perl/5.12.4/x86_64-linux /usr/lib64/perl5/site_perl/5.12.4 /usr/lib64/perl5/vendor_perl/5.12.4/x86_64-linux /usr/lib64/perl5/vendor_perl/5.12.4 /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.12.4/x86_64-linux /usr/lib64/perl5/5.12.4 /usr/local/lib/site_perl .) at (eval 2) line 2. BEGIN failed--compilation aborted at (eval 2) line 2. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. # softlimit -m 19000000 perl -le 'use version; print $version::VERSION' Out of memory!