Tomcat7 JDK8 Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000540000000, 5368709120, 0) failed; error='Cannot allocate memory' (errno=12)

[root@crm-web-1 bin]# shutdown.sh
bash: shutdown.sh: command not found
[root@crm-web-1 bin]# sh shutdown.sh
Using CATALINA_BASE:   /home/soft/apache-tomcat-7.0.92_1
Using CATALINA_HOME:   /home/soft/apache-tomcat-7.0.92_1
Using CATALINA_TMPDIR: /home/soft/apache-tomcat-7.0.92_1/temp
Using JRE_HOME:        /usr
Using CLASSPATH:       /home/soft/apache-tomcat-7.0.92_1/bin/bootstrap.jar:/home/soft/apache-tomcat-7.0.92_1/bin/tomcat-juli.jar
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000540000000, 5368709120, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 5368709120 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /home/soft/apache-tomcat-7.0.92_1/bin/hs_err_pid17847.log
原文地址:https://www.cnblogs.com/rgqancy/p/10703238.html