Solution caused by:java.io.ioexception:java.io.ioexception:error=12, cannot allocate memory

Source: Internet
Author: User
Tags cassandra

Recently the company an online server HBase Regionserver hung up after the error oom.

  1. 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
  2. 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.
  3. Restarting the machine is still invalid
  4. 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.