[Numpy-discussion] Vector/matrix with 3200975422129 elements
Gaston Fiore
gaston.fiore at gmail.com
Tue May 3 19:52:36 EDT 2011
Hello,
I'm trying to create a vector (or a matrix, could be either) with
3200975422129 elements but I'm not being successful, get the following
error:
>>> zeros(width * height, dtype=float32)
Killed
or
>>> zeros((1789127,1789127), dtype=float32)
Killed
I'm assuming that I'm running out of memory. How could I go around
this? This is some extra information:
-bash-3.2$ python
Python 2.7.1 (r271:86832, Apr 25 2011, 11:02:55)
[GCC 4.3.3] on linux2
-bash-3.2$ python -c 'import numpy as np; print np.__version__'
1.6.0b2
Thanks a lot,
-Gaston
More information about the NumPy-Discussion
mailing list