问题:
使用pycharm时常出现  

the IDE is running low on memory 的问题

表示pycharm这款IDE使用内存不足

需要在系统内存充足的情况下扩充IDE memory

 

方法:

1、设置显示内存使用情况

File ???? Settings ???? Appearance ???? Windows  Options ???? show memmory indicator ???? Apply

右下角会出现

python学习笔记 | PyCharm出现卡顿解决方法

左边数字:已使用IDE memory,右边数字:总共的IDE memory,初始为750M,如果pycharm出现卡顿,左边的数字将会逼近右边数字。

 

2、修改IDE memory

help ???? Find Action ???? 输入VM Options ????  Edit Custom VM Options

编辑pycharm.vmoptions文件,将   -Xmx750m   改为   -Xmx1024m

如果有特殊需要可将1024继续扩充,ctrl+s保存

重启pycharm,发现IDE memory从750M扩充为989M,pycham运行流畅。

相关文章:

  • 2021-04-22
  • 2022-01-06
  • 2021-06-07
  • 2022-12-23
  • 2021-08-10
  • 2021-08-05
猜你喜欢
  • 2022-12-23
  • 2021-11-27
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2021-05-10
  • 2021-10-11
相关资源
相似解决方案