There is insufficient memory for the Java Runtime Environment to continue hbase There is insufficient memory for the Java Runtime Environment to continue hbase hadoop hadoop

There is insufficient memory for the Java Runtime Environment to continue hbase


You have almost no free memory and no swap.

physical 3523172k(135048k free), swap 0k(0k free)

The simplest solution is to add some swap space, I suggest 4 GB minimum, up to 16 GB.


To create a Swap file of 2G

sudo dd if=/dev/zero of=/swapfile count=2048 bs=1MiBsudo chmod 600 /swapfilesudo mkswap /swapfilesudo swapon /swapfile

sudo nano /etc/fstab

add this line:/swapfile swap swap sw 0 0

run swapon --show and free -h to verify