Pycharm 报错自Out of Memory 然后一直闪退(已解决)

问题描述

今天在用pycharm跑模型时,突然报错自Out of Memory
There is not enough memory to perform the requested operation.
Please increase ‘Xmx’ setting and restart the IDE for change to take effect.
Pycharm 报错自Out of Memory 然后一直闪退(已解决)

解决方案

找到pycharm安装目录bin下的pycharm64.exe.vmoptions,用记事本打开
Pycharm 报错自Out of Memory 然后一直闪退(已解决)
将前两个适当加大
Pycharm 报错自Out of Memory 然后一直闪退(已解决)
找到bin目录下的Pycharm64.exe,双击打开Pycharm
Pycharm 报错自Out of Memory 然后一直闪退(已解决)

演示

成功打开,无闪退
Pycharm 报错自Out of Memory 然后一直闪退(已解决)