记一次Nacos内存不够退出问题排查
Nacos掉线且启动不了
docker restart nacos-standalonedocker -ps -aExited (1) 9 seconds ago检查日志
docker logs nacos-standalone#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 536870912 bytes for committing reserved memory.
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 536870912, 0) failed; error='Out of memory' (errno=12)
# An error report file with more information is saved as:
# /tmp/hs_err_pid1.log解决思路
最后更新于
这有帮助吗?