Google Colab Not enough memory to open this page

↘锁芯ラ 提交于 2019-12-13 03:24:12

问题


I am training 5 CNN's with MNIST on Google Colab. Whenever I go to check on it to see if the program is done, the notebook becomes unresponsive. My computers memory max's out and the cpu spikes and then the webpage crashes and shows the "Not enough memory to open this page" error. Has anyone else had an issue like this?

Edit: Link to notebook: https://colab.research.google.com/drive/1EZ18Tf9RTwJB-Myy5YAK6py-SG_bNyDe


回答1:


You can organize your code in sections and then collapse the sections you’re not using at a given moment. This significantly speeds up the notebook response in your browser.




回答2:


I was suffering from the same problem. I found a related post here eddit. Did you print a lot of things during training? I was doing so, as said from the link, every print adds some kind of HTML thing to our browsers. Eventually, our pc crashes since it cannot take all those files due to memory limits.

I deleted my print lines, and it seems ok now.



来源:https://stackoverflow.com/questions/52667987/google-colab-not-enough-memory-to-open-this-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!