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