<ipython-input-52-62a6baf77ac9> in <module>
1 import numpy as np
----> 2 a = np.zeros((387256, 31894))
MemoryError: Unable to allocate array with shape (387256, 31894) and data type float64
This tiny code snippet works perfectly fine on my laptop with 16GB memory, but when I run this exact code on another machine that has 64GB memory, it gives this memory error. I checked the memory usage of the 64GB memory machine and it says it still has 62GB free memory since I'm not really doing anything else on it. Could this memory error be due to some other reason?
Edit:
Numpy version for both machines:
numpy.version.version
is '1.17.2'