I'm trying to process some data utilizing python but encounter "MemoryError" frequently. For my data processing, I need to run a loop ~400 times. The issue is, every time I get 20-30 times into this loop I get "MemoryError". While watching Task Manager, this appears to happen when python.exe*32 is ~1 GB. I would use 64-bit python but some of the libraries I need are only 32 bit. Furthermore, at the end of the main function I'm calling with every loop, I'm utilizing the del function for just about every variable I use. When the "MemoryError" occurs, I have to completely exit the interpreter, otherwise if I try to re-reun it again it automatically fails with "MemoryError".
I'm using Python(x,y) 2.7 and need the following: numpy scipy.io matplotlib pyopencl pyfft