[Numpy-discussion] creating large arrays cause memory error, although there is more than enough RAM

David Cournapeau david@ar.media.kyoto-u.ac...
Tue Mar 11 01:20:33 CDT 2008


Vladislav Petyuk wrote:
> I have Memory Error if I try to create numpy arrays or large size like 
> 100-500 Mb (e.g. 30000 x 3000 'float32' array)
> My computer has 3 Gb of RAM, which is well enough to handle these 
> arrays. And there is definetely memory available.
> Nevertheless, the program crushes with "Potential Memory Error".
> I would appreciate any tips for tackling this problem.
>  
Hi,

    Could you give us a small script which shows the problem ? Also, 
which OS are you using ?

    cheers,

    David


More information about the Numpy-discussion mailing list