tomcat 启动报错 Cannot allocate memory

时间:2024-04-10 17:04:58

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 178913280, 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 178913280 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /usr/local/tomcat/bin/hs_err_pid3238.log