tomcat 启动报错 Cannot allocate memory

Posted ThinkVenus

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了tomcat 启动报错 Cannot allocate memory相关的知识,希望对你有一定的参考价值。

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








以上是关于tomcat 启动报错 Cannot allocate memory的主要内容,如果未能解决你的问题,请参考以下文章

linux系统中启动tomcat报错Cannot find /root/tomcat/bin/setclasspath.sh

异常解决——Tomcat启动异常:Cannot assign requested address

异常解决——Tomcat启动异常:Cannot assign requested address

Spring boot 启动报错: Protocol handler start failed | Cannot assign requested address: bind

tomcat报错:Wrapper cannot find servlet class ...

docker运行tomcat报错Cannot find /usr/local/tomcat/bin/setclasspath.sh