OK... 1."Memory is not enough..." is giving from the exe program. 2. If I run the exe program directly using cmd console, it's working good. 3. I am using Windows 7, 4GB memory python 2.7 the program is a image processing program.