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, ...
随机推荐
- C# 复选框显示多项选择
private void Form1_Load(object sender, EventArgs e) { checkedListBox1.Items.Add("语文"); che ...
- 壁虎书1 The Machine Learning Landscape
属性与特征: attribute: e.g., 'Mileage' feature: an attribute plus its value, e.g., 'Mileage = 15000' Note ...
- mysql - Truncated incorrect DOUBLE value: 'undefined'
mysql - Truncated incorrect DOUBLE value: 'undefined' 我是怎么遇到这个问题的? 我要从多个表里,查询统计数据,保存到统计表里,需要执行下面这种结构 ...
- 自动化测试如何使用driver.findElements去操作页面元素
当你要操作的元素页面有很多个的时候,如下图这样,你想使用".datagrid-row-expander.datagrid-row-expand"这个cssSelector,这个时候 ...
- Web开发(XAMPP服务器搭建)
XAMPP是一个功能强大的搭建服务器环境的软件集成包.它集成了Apache.MySql.php.perl这几个服务器常用的软件.而我们在使用时,省去了安装这些软件的步骤,只需要下载XAMPP,解压缩. ...
- shell 脚本示例
#!/bin/sh #while true #do cd /mnt/vfw/third_meteor for sub in `ls` do cd /mnt/vfw/third_meteor/${sub ...
- 缓存机制 ehcache、redis
本文主要记录ehcache和redis实现缓存(redis版本号:5.0.3) 一.ehcache 1.ehcache:用来管理Java中缓存的轻量级工具,其核心通过CacheManager使用,一般 ...
- Mac OSX bash function 备份
# mount the android file image function mountAndroid { hdiutil attach ~/android.dmg.sparsefile.spars ...
- VUE-007-通过路由 router.push 传递 query 参数(路由 name 识别,请求链接显示参数传递)
在前端页面表单列表修改时,经常需要在页面切换的时候,传递需要修改的表单内容,通常可通过路由进行表单参数的传递. 首先,配置页面跳转路由.在 router/index.js 中配置相应的页面跳转路由,如 ...
- centos7 + php7
安装php7 https://www.zntec.cn/archives/centos7-lamp.html composer安装tp curl -sS https://getcomposer.org ...