Hbase Native memory allocation (mmap) failed to map xxx bytes for committing reserved memory

新启动测试环境Hbase报错,报错日志如下

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 31715688448 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /opt/cm-5.13.0/run/cloudera-scm-agent/process/521-hbase-REGIONSERVER/hs_err_pid132687.log

查看Hbase RegionServer配置

Hbase Native memory allocation (mmap) failed to map xxx bytes for committing reserved memory 

看到分配31G,查看服务器内存使用情况

Hbase Native memory allocation (mmap) failed to map xxx bytes for committing reserved memory

明显发现可分配给RegionServer的内存不足,导致的问题,释放内存或者调整配置内存大小,重启服务,恢复。 

上一篇:linux – 使用mmap访问PCI-e内存空间


下一篇:Android性能测试-内存详解