On 8/3/2010 7:45 PM, Benjamin Schuster-Boeckler wrote:
> Sorry, I forgot to add:
>
> />$ perl -MPDL -e 'print $PDL::VERSION."\n"'
> 2.4.6
>
> />$ perl --version
> This is perl, v5.8.8 built for x86_64-linux-thread-multi
>
> I built PDL on this machine with standard tools (same perl, gcc 4.1.2, no 
> fancy stuff :-)).
>
> Ben
>
> On 4 Aug 2010, at 01:36, Benjamin Schuster-Boeckler wrote:
>
>> Shockingly, it's true! I just tried the following on a machine with 4 AMD 
>> Opteron 64bit processors and ~8GB memory:
>>
>> />$ perl -MPDL -e '$PDL::BIGPDL=1; $x = sequence(float, 23170, 23170); print 
>> $x->info("%M")."\n"'
>> 2047.92Mb
>> />$ perl -MPDL -e '$PDL::BIGPDL=1; $x = sequence(float, 23171, 23171); print 
>> $x->info("%M")."\n"'
>> Out of memory!
>>
>> I chose a matrix of 23170^2 floats because that's 536848900 * 4 bytes, ie 
>> 1.99GB. Going just a little bit above that limit gives an "Out of memory". 
>> What's really worrying though is this:
>>
>> />$ perl -MPDL -e '$PDL::BIGPDL=1; $x = sequence(float, 46350, 46350); print 
>> $x->info("%M")."\n"'
>> -8385331.23Kb
>>
>> Going substantially above the existing wired memory of the machine returns 
>> interesting negative numbers for the matrix' size, and clearly fails to warn 
>> about the memory issue. I think we have a bug here?

What is perl -V?

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

Reply via email to