• tomcat启动报错There is insufficient memory for the Java Runtime Environment to continue


    tomcat启动报错后显示以下错误

    #
    # There is insufficient memory for the Java Runtime Environment to continue.
    # Native memory allocation (malloc) failed to allocate 1297136 bytes for Chunk::new
    # An error report file with more information is saved as:
    # D:apache-tomcat-6.0.53inhs_err_pid44888.log
    Disconnected from the target VM, address: '127.0.0.1:62185', transport: 'socket'
    Disconnected from server

    这是由于tomcat启动内存不足,需要增加tomcat启动内存,如果是IDEA开发工具的话  增加  : -server -XX:PermSize=256M -XX:MaxPermSize=512M

  • 相关阅读:
    程序员学习提高必看的一篇文章
    SpringAOP拦截器的代理机制
    springboot03_RabbitMQ
    Docker_02
    Docker_01
    Redis_02
    Redis_01
    关于Linux下内存和Swap
    密码学DAY2
    密码学DAY1_02
  • 原文地址:https://www.cnblogs.com/pxblog/p/13215260.html
Copyright © 2020-2023  润新知