There is not enough memory to perform the requested operation

2023-08-01,,

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

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

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

使用 notepad ++ 打开

将其改为

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

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

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

或者直接在webstorm中 Help > Edit Custom VM Options ...

三、增加MaxMetaspaceSize

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

根据

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


-XX:MaxMetaspaceSize=526m

最后完整内容如下

ok, 收工。

There is not enough memory to perform the requested operation的相关教程结束。

《There is not enough memory to perform the requested operation.doc》

下载本文的Word格式文档,以方便收藏与打印。