Hi all:

> I'm not sure--I've never run up against a Perl process limit.  Remember
> that piddles are treated differently than perl SVs, so that limit may or
> may not apply.  But you could test it by saying
> perldl> $a = zeroes(3*1024*1024*1024)
> which should try to allocate a 24 GB piddle.  Fun stuff.

On my CentOS 4, x86_64 system with 8GB of memory, I get varying results 
for large PDLs:

perldl> p zeroes(128*1024*1024)->info
PDL: Double D [134217728]

perldl> p zeroes(256*1024*1024)->info
Out of memory!
Callback called exit at 
/ops/tools/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi/PDL/Core.pm 
line 521.

perldl> p zeroes(512*1024*1024)->info
Segmentation fault

perldl> p zeroes(1024*1024*1024)->info
Segmentation fault

perldl> p zeroes(2*1024*1024*1024)->info
PDL: Double D [-2147483648]

Fun stuff indeed!

--Doug



_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to