今日在写bug 时 ide 突发脑溢血,崩溃了

There is not enough memory to perform the requested operation

一、修改用户目录下的 .vmoptions

找到C:\用户\用户名.WebStorm2018.1\config\webstorm64.exe.vmoptions

There is not enough memory to perform the requested operation

使用 notepad ++ 打开

There is not enough memory to perform the requested operation

将其改为

There is not enough memory to perform the requested operation

光改这个还不行,依然会提示

There is not enough memory to perform the requested operation

二、修改WebStorm 安装目录下的 .vmoptions

还需要修改 WebStorm 安装目录下的 webstorm.exe.vmoptions和webstorm64.exe.vmoptions

There is not enough memory to perform the requested operation
或者直接在webstorm中 Help > Edit Custom VM Options ...
There is not enough memory to perform the requested operation

三、增加MaxMetaspaceSize

原本以为完成上面两步就OK了,万万没想到 又提示了如下

There is not enough memory to perform the requested operation

根据

There is not enough memory to perform the requested operation

这个提示,我在上面操作的那几个文件里又增加了如下类容


-XX:MaxMetaspaceSize=526m

最后完整内容如下

There is not enough memory to perform the requested operation

ok, 收工。

相关文章:

  • 2021-12-05
  • 2021-04-25
  • 2021-11-25
  • 2022-01-24
  • 2022-12-23
  • 2021-08-09
  • 2021-08-01
猜你喜欢
  • 2021-10-20
  • 2021-12-28
  • 2022-12-23
  • 2021-04-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案