Insufficient memory for the Java Runtime Environment

Insufficient memory for the Java Runtime Environment
4.0 1

#1

Hi,

Receiving below error while accessing hive or pig. Please resolve it.

Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x00006cbb1d000000, 974127104, 0) failed; error=‘Cannot allocate memory’ (errno=12)
Unable to determine Hadoop version information.
‘hadoop version’ returned:
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x000067b1a8000000, 974127104, 0) failed; error=‘Cannot allocate memory’ (errno=12)

# There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 974127104 bytes for committing reserved memory.


Sign up for our state of the art Big Data cluster for hands on practice as developer. Cluster have Hadoop, Spark, Hive, Sqoop, Kafka and more.



#2

Hi @ganidevbr,
Hive is working fine now. You can try now.


#3

Thanks @Sravan_Kumar_Avula


#4