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 #the problem pops here
when the last line is interpreted, I have this:
Process finished with exit code -1073741819 (0xC0000005)
If i < 354993 the execution is fine. I am using Python 2.7 32-bit over Windows 8 64-bit. It is due to a limit in Memory? in this case what would be the best solution to have this working?
Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC v.1900 64 bit (AMD64)] on win32to be exactPython 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32with access violation:Unhandled exception at 0x1000696C (multiarray.pyd) in python2.exe: 0xC0000005: Access violation writing location 0x40029260.