I have this simple numpy / python code below:
from numpy import zeros, float32
v = 3039345
d = 400
i = 354993
j = 0
var1 = zeros((v,d), dtype=float32)
var1[i, j] = 0
when the last line is interpreted, I have the following:
Process finished with exit code -1073741819 (0xC0000005)
If I <354993 the execution is ok. I am using Python 2.7 32-bit compared to Windows 8 64-bit. Is it due to memory limitations? in this case would be the best solution for this job?
Thanks.
source
share