in reply to Re^2: How to call $PDL::BIGPDL=1?
in thread How to call $PDL::BIGPDL=1?
An even better solution to the problem is to use PDL::IO::FastRaw and memory-map a disk-file, which doesn't allocate any RAM at all:$PDL::BIGPDL=1; # true value $name=zeroes($large_number1,$large_number2); # now size not checked
use PDL::IO::FastRaw; $name=mapfraw( 'fname', {Creat => 1, Dims => [$large_number1,$large_number2]} );
|
|---|