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

New start test environment Hbase error, error log as follows

#
# 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

View the Hbase RegionServer configuration

See 31G allocated and check server memory usage

Spotting a huge shortage of memory that could be allocated to RegionServer and causing problems, RegionServer freed it or resized its configuration, restarted the service and got it back on.  

Read More: