Java自学者论坛

 找回密码
 立即注册

手机号码,快捷登录

恭喜Java自学者论坛(https://www.javazxz.com)已经为数万Java学习者服务超过8年了!积累会员资料超过10000G+
成为本站VIP会员,下载本站10000G+会员资源,会员资料板块,购买链接:点击进入购买VIP会员

JAVA高级面试进阶训练营视频教程

Java架构师系统进阶VIP课程

分布式高可用全栈开发微服务教程Go语言视频零基础入门到精通Java架构师3期(课件+源码)
Java开发全终端实战租房项目视频教程SpringBoot2.X入门到高级使用教程大数据培训第六期全套视频教程深度学习(CNN RNN GAN)算法原理Java亿级流量电商系统视频教程
互联网架构师视频教程年薪50万Spark2.0从入门到精通年薪50万!人工智能学习路线教程年薪50万大数据入门到精通学习路线年薪50万机器学习入门到精通教程
仿小米商城类app和小程序视频教程深度学习数据分析基础到实战最新黑马javaEE2.1就业课程从 0到JVM实战高手教程MySQL入门到精通教程
查看: 808|回复: 0

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

[复制链接]
  • TA的每日心情
    奋斗
    2024-11-24 15:47
  • 签到天数: 804 天

    [LV.10]以坛为家III

    2053

    主题

    2111

    帖子

    72万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    726782
    发表于 2021-7-16 11:11:10 | 显示全部楼层 |阅读模式

    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,解决方案

    暂无,待定。

    哎...今天够累的,签到来了1...
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    QQ|手机版|小黑屋|Java自学者论坛 ( 声明:本站文章及资料整理自互联网,用于Java自学者交流学习使用,对资料版权不负任何法律责任,若有侵权请及时联系客服屏蔽删除 )

    GMT+8, 2025-1-31 23:49 , Processed in 0.057058 second(s), 27 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

    快速回复 返回顶部 返回列表