There is insufficient memory怎么解决
1、在使用idea开发java项目的时候,有时服务启动不了,控制台报出如下日志,“There is insuff足毂忍珩icient memory for the Java Runtime Environment to continue.”,如图所示。

3、然后选择下拉菜单中的“setting...”,进入idea的系统设置,如图所示。

5、接着选择下面的“Compiler”,也就是编译,如图所示。

7、堆内存设置的过小,有时还会报出内存溢出的异常,也可以使用这种方式解决。
8、以上就是There is insufficient memory for the Java Runtime Environment to continue的解决办法,希望可以帮到大家。