Python报错:Low Memory,The IDE is running low on memory and this might affect performance.

报错信息

使用pycharm过程中报如下错误

    Low Memory
			
    The IDE is running low on memory and this might affect performance. Please consider increasing available heap.

翻译如下:

内存不足

IDE内存不足,这可能会影响性能。请考虑增加可用堆。

解决方案

1、直接配置

点击上图中的蓝色configure,然后修改堆大小即可。

2、通过配置修改

【1】点击help,选择find action
【2】在actions里查找vm并打开 Edit Custom VM Options
【3】修改xms和xmx

注:-Xms-Xmx用来设置你的应用程序启动时的可用内存大小运行时的可用的内存大小,修改即可。

发布了244 篇原创文章 · 获赞 501 · 访问量 50万+

猜你喜欢

转载自blog.csdn.net/shuiyixin/article/details/98177537