Eclipse中启动Tomcat报错:[There is insufficient memory for the Java Runtime Environment to continue.]的解决方案
1,报错截图

2,报错信息
五月 08, 2018 9:57:58 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:MyCastBox' did not find a matching property.
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/8.0.50
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Feb 7 2018 20:06:05 UTC
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 8.0.50.0
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 10
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 10.0
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: amd64
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: C:\MyDev\Java\jdk1.8.0_131\jre
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.8.0_131-b11
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: C:\MyDev\Tomcat\apache-tomcat-8.0.50
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: C:\MyDev\Tomcat\apache-tomcat-8.0.50
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:56967
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dmaven.multiModuleProjectDirectory=$MAVEN_HOME
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=C:\MyDev\Tomcat\apache-tomcat-8.0.50
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=C:\MyDev\Tomcat\apache-tomcat-8.0.50
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=C:\MyDev\Tomcat\apache-tomcat-8.0.50\webapps
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=C:\MyDev\Tomcat\apache-tomcat-8.0.50\endorsed
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=UTF-8
五月 08, 2018 9:57:58 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\MyDev\Java\jdk1.8.0_131\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\MyDev\Java\jdk1.8.0_131\jre\bin;C:/MyDev/Java/jre1.8.0_131/bin/server;C:/MyDev/Java/jre1.8.0_131/bin;C:/MyDev/Java/jre1.8.0_131/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\MyDev\Maven\apache-maven-3.5.2\bin;C:\MyDev\Java\jdk1.7.0_67\bin;C:\MyDev\Java\jdk1.7.0_67\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\MyDev\Git\cmd;C:\MyDev\nodejs\;C:\MyDev\aspectj1.8\bin;C:\MyDev\MySQL5.6_RP_Green\bin;C:\Users\zjp\AppData\Local\Microsoft\WindowsApps;C:\Users\zjp\AppData\Roaming\n
pm;C:\MyDev\eclipse-jee-luna-SR2-win32-x86_64;;.
五月 08, 2018 9:57:58 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-nio-8080"]
五月 08, 2018 9:57:58 上午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
五月 08, 2018 9:57:58 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-nio-8009"]
五月 08, 2018 9:57:58 上午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
五月 08, 2018 9:57:58 上午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1749 ms
五月 08, 2018 9:57:58 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
五月 08, 2018 9:57:58 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/8.0.50
五月 08, 2018 9:58:07 上午 org.apache.jasper.servlet.TldScanner scanJars
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
五月 08, 2018 9:58:08 上午 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
五月 08, 2018 9:58:08 上午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/MyDev/Tomcat/apache-tomcat-8.0.50/webapps/MyCastBox/WEB-INF/lib/logback-classic-1.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/MyDev/Tomcat/apache-tomcat-8.0.50/webapps/MyCastBox/WEB-INF/lib/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
2018-05-08 09:58:12,659 [localhost-startStop-1] INFO com.alibaba.druid.pool.DruidDataSource:928 - {dataSource-1} inited
五月 08, 2018 9:58:15 上午 org.apache.catalina.core.ApplicationContext log
信息: Set web app root system property: 'webapp.root' = [C:\MyDev\Tomcat\apache-tomcat-8.0.50\webapps\MyCastBox\]
五月 08, 2018 9:58:15 上午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Logback from [classpath:logback.xml]
五月 08, 2018 9:58:15 上午 org.apache.catalina.core.ApplicationContext log
信息: JUL to SLF4J bridge is not available on the classpath
五月 08, 2018 9:58:15 上午 org.apache.catalina.core.ApplicationContext log
信息: Set web app root system property: 'webapp.root' = [C:\MyDev\Tomcat\apache-tomcat-8.0.50\webapps\MyCastBox\]
五月 08, 2018 9:58:15 上午 org.apache.catalina.core.ApplicationContext log
信息: Initializing log4j from [classpath:log4j.properties]
五月 08, 2018 9:58:17 上午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring FrameworkServlet 'dispatcherServlet'
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 1223856 bytes for Chunk::new
[thread 26196 also had an error]
# An error report file with more information is saved as:
# C:\MyDev\eclipse-jee-luna-SR2-win32-x86_64\hs_err_pid8500.log
#
# Compiler replay data is saved as:
# C:\MyDev\eclipse-jee-luna-SR2-win32-x86_64\replay_pid8500.log
3,解决方案
暂无,待定。
Eclipse中启动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.# Nat ...
- 【JVM】linux上tomcat中部署的web服务,时好时坏,莫名其妙宕机,报错:There is insufficient memory for the Java Runtime Environment to continue.
=========================================================================================== 环境: linu ...
- Eclipse中启动tomcat报错:A child container failed during start
我真的很崩溃,先是workspace崩了,费了好久重建的workspace,然后建立了一个小demo项目,tomcat中启动却报错,挑选其中比较重要的2条信息如下: A child container ...
- kafka启动报错Cannot allocate memory;There is insufficient memory for the Java Runtime Environment to continue.
kafka启动过程报错,配置没有问题,这就懵了!! Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000 ...
- eclipse中启动tomcat报错 java.lang.ClassNotFoundException
之前启动还好好的,某次启动tomcat就莫名其妙的报了这个java.lang.ClassNotFoundException的错. 检查maven依赖包,发现这个类是存在的. 然后一通clean操作 ...
- Eclipse中启动tomcat报错java.lang.OutOfMemoryError: PermGen space的解决方法
有的项目引用了太多的jar包,或者反射生成了太多的类,异或有太多的常量池,就有可能会报java.lang.OutOfMemoryError: PermGen space的错误, 我们知道可以通过jvm ...
- 【转】Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.
转载地址:http://blog.csdn.net/jnqqls/article/details/8946964 1.错误: 在Eclipse下启动tomcat的时候,报错为:Eclipse下启动to ...
- 在eclipse中启动Tomcat报端口被占用的错误
安装配置好Tomcat之后,在浏览器中输入localhost,能正取打开页面.然后在eclipse中建立项目,创建Servlet之后,启动Tomcat,报端口被占用的错误.如图: 原因:原来已经启动了 ...
- eclipse本地启动tomcat报错集锦
1.eclipse本地添加tomcat服务器 打开Eclipse,单击“window”菜单,选择下方的“Preferences”: 找到Server下方的Runtime Environment, ...
随机推荐
- 小程序展开收缩文字demo
demo效果图: wxml 代码: <view class="{{ellipsis?'ellipsis':'unellipsis'}}">五险一金五五险一金险险一金五五 ...
- python 可视化界面
在各类按钮组件里,默认的消息是 “Shall I continue?”,所以你可以不带任何参数地去调用它们. 这里我们演示不带任何参数地去调用 ccbox(),当选择 “cancel” 或关闭窗口的时 ...
- yield关键字
1.yield语句有两种形式 (1)yield return <expression>;一次返回一个元素 运行yield return 语句时,会返回一个 值,并记录当前位置及保留该值.下 ...
- spring注解简单记录
@Autowired 自动匹配,按类型 @qualifiter("beanname") 当有多个bean匹配时,可指定bean名称 @Resource byname优先匹配,然后b ...
- kafka手动开启监听
项目集成spring-kafka,在项目启动后需要做些初始化资源的任务,kafka消费会依赖这些所以需要配置kafka手动启动. 类似这样,设置autoStartup为false 然后代码里面调用这个 ...
- B-Tree与B+Tree简明扼要的区别
原文:https://blog.csdn.net/zhuanzhe117/article/details/78039692 看了很多讲B树和B+树的文章,大多都是围绕各自的特性讲的,第一,树中每个结点 ...
- 为多维数组添加一列以及reshape用法注意
https://blog.csdn.net/orangefly0214/article/details/80934008参考这个了链接 下面是我自己用到的代码,亲测可用 # data = pd.rea ...
- thinkphp ckeditor与ckfinder
thinkphp ckeditor与ckfinder 下载 ckeditor下载地址 ckfinder下载地址 整合 将ckeditor与findeditor下载完成后,放到public目录下,配置c ...
- 查看虚拟机里的Centos7的IP
这里之所以是查看下IP ,是我们后面要建一个Centos远程工具Xshell 连接Centos的时候,需要IP地址,所以我们这里先 学会查看虚拟机里的Centos7的IP地址 首先我们登录操作系统 用 ...
- ES6的字符串和数值的扩展
字符串扩展 对于处理大于两个字节(大于0xffff)的字符,let str =’\u{20bb7}abc’ ES5中的遍历 for(let i=0;i<str.length;i++){ con ...