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

David Cournapeau david at ar.media.kyoto-u.ac.jp
Tue Mar 11 02:20:33 EDT 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