Tomcat 启动报错 : There is insufficient memory for the Java Runtime Environment to continue.

Tomcat 启动报错 : There is insufficient memory for the Java Runtime Environment to continue.



这个错误一般不会出现,但是当你开发较为大型的项目时还是有可能会出现的(比如说模块很多要开很多个tomcat时),这个错误就是你的内存不足了,如果没办法添加内存条(硬件)的话,就去把电脑自身的虚拟内存调大一点即可。

虚拟内存:
打开计算机(此电脑)→右键空白处选择属性→
Tomcat 启动报错 : There is insufficient memory for the Java Runtime Environment to continue.
选择高级系统设置→选择性能旁边的设置→
Tomcat 启动报错 : There is insufficient memory for the Java Runtime Environment to continue.
切换到高级选项卡→
Tomcat 启动报错 : There is insufficient memory for the Java Runtime Environment to continue.
点击更改→
Tomcat 启动报错 : There is insufficient memory for the Java Runtime Environment to continue.
这个就是把你选中的磁盘的空间转化成虚拟内存。

注意:这个数值最好不要超过你内存的1.5倍