Releasing memory of huge numpy array in IPython
问题 UPDATE:- This problem solved itself after a machine reboot. Not yet able to figure out why this error was happening before. I have a function that loads a huge numpy array (~ 980MB) and returns it. When I first start Ipython and call this function, it loads the array into the variable without any problem. But if I run the same command again, it exits raising a "Memory Error". I tried the following, del hugeArray Still the same error was occurring. I even tried the following del hugeArray gc