[Israel.pm] perl on 64-bit machine

Gaal Yahas gaal at forum2.org
Thu Mar 10 07:40:37 PST 2005


Pinkhas Nisanov wrote:

>I think it'll assure "USE_64_BIT_INT", but not
>"USE_64_BIT_ALL". How can I know my perl process
>can use more than 2GB memory ( server is 64-bit
>and 32GB memory ) ?
>  
>
perl -le '$0="allocator";do { print "allocated ${_}0 MB"; push @x, 
("A"x(10*1024*1024)) } for 1 .. 3;print grep /allocator/, `ps aux`'

Change the "3" to something bigger, and see when you get an out of memory.

-- 
Gaal Yahas <gaal at forum2.org>
http://gaal.livejournal.com/




More information about the Perl mailing list