Tomcat 启动报错 : There is insufficient memory for the Java Runtime Environment to continue.
2019-05-17 14:32
363 查看
版权声明:blackjoyful@163.com https://blog.csdn.net/qq_42671576/article/details/90292661
这个错误一般不会出现,但是当你开发较为大型的项目时还是有可能会出现的(比如说模块很多要开很多个tomcat时),这个错误就是你的内存不足了,如果没办法添加内存条(硬件)的话,就去把电脑自身的虚拟内存调大一点即可。
Tomcat 启动报错 : There is insufficient memory for the Java Runtime Environment to continue.
这个错误一般不会出现,但是当你开发较为大型的项目时还是有可能会出现的(比如说模块很多要开很多个tomcat时),这个错误就是你的内存不足了,如果没办法添加内存条(硬件)的话,就去把电脑自身的虚拟内存调大一点即可。
虚拟内存:
打开计算机(此电脑)→右键空白处选择属性→
选择高级系统设置→选择性能旁边的设置→
切换到高级选项卡→
点击更改→
这个就是把你选中的磁盘的空间转化成虚拟内存。
注意:这个数值最好不要超过你内存的1.5倍
相关文章推荐
- 64位Ubuntu14.04 tomcat日志报错 There is insufficient memory for the Java Runtime Environment to continue
- There is insufficient memory for the Java Runtime Environment to continue.
- There is insufficient memory for the Java Runtime Environment to continue问题解决
- There is insufficient memory for the Java Runtime Environment to continue. 解决
- There is insufficient memory for the Java Runtime Environment to continue问题解决
- There is insufficient memory for the Java Runtime Environment to continue
- 启动Dubbo遇异常 There is insufficient memory for the Java……
- 启动tomcat的时候,报Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program 的解决方案
- 修改jdk的版本后,软件启动报错:The registry refers to a nonexistent Java Runtime Environment installation or the runtime is corrupted.
- Tomcat 启动时报 to the cache because there was insufficient free space available after evict
- tomcat启动报错,A fatal error has been detected by the Java Runtime Environment
- Tomcat 启动时报 to the cache because there was insufficient free space available after evict
- Tomcat启动:A fatal error has been detected by the Java Runtime Environment(JVM)
- 普通用户操作tomcat项目时报:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program
- Linux下tomcat启动Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of
- 在idea启动tomcat出现The JAVA_HOME environment variable is not defined correctly的解决
- idea创建web项目时启动tomcat出现The JAVA_HOME environment variable is not defined correctly
- Tomcat启动报A fatal error has been detected by the Java Runtime Environment
- Tomcat启动报A fatal error has been detected by the Java Runtime Environment
- Tomcat启动:A fatal error has been detected by the Java Runtime Environment(JVM Crash分析及相关资料)