Ask Your Question

Revision history [back]

L = np.zeros((373,559,3,256), dtype=int)

Hello,

why this expression generate a memory error inside a script.py, but if I run it apart, it run correctly? I mean

python script.py #generates memory error

L = np.zeros((373,559,3,256), dtype=int) # it works fine

thanks, Jaime

click to hide/show revision 2
retagged

L = np.zeros((373,559,3,256), dtype=int)

Hello,

why this expression generate a memory error inside a script.py, but if I run it apart, it run correctly? I mean

python script.py #generates memory error

L = np.zeros((373,559,3,256), dtype=int) # it works fine

thanks, Jaime