Recently the company an online server HBase Regionserver hung up after the error oom.
- This machine is equipped with Cassandra at the same time, so stop Cassandra release memory, restart Regionserver failure, and Cassandra try to start also error caused by:java.io.IOException: JAVA.IO.IOEXCEPTION:ERROR=12, cannot allocate memory
- Ps-ef found a lot of processes like/bin/bash/opt/cloudera-manager/cm-5.3.0/lib64/cmf/service/hbase/hbase.sh regionserver start running, After all, they still can't start Regionserver and Cassandra.
- Restarting the machine is still invalid
- Reference https://stackoverflow.com/questions/1124771/ After How-to-solve-java-io-ioexception-error-12-cannot-allocate-memory-calling-run, use echo 0 >/proc/sys/vm/ Overcommit_memory Problem Solving
Follow-up still need to strengthen the learning of memory management
Solution caused by:java.io.ioexception:java.io.ioexception:error=12, cannot allocate memory