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.53\bin\hs_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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM