# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 1431830528 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /home/test/tomcat8061/bin/hs_err_pid11055.log
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x000000077ff80000, 1431830528, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 1431830528 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /home/test/tomcat8061/bin/hs_err_pid19830.log
catalina.sh添加下面内容启动
JAVA_OPTS="-server -Xms800m -Xmx800m -XX:PermSize=64M -XX:MaxNewSize=256m -XX:MaxPermSize=128m -Djava.awt.headless=true "