Insufficient memory for the Java Runtime Environment to continue

All,

I am facing below issue while trying to write “fs -ls” command.

[shubhaprasadsamal@gw01 ~]$ hadoop fs -ls /apps/hive/warehouse
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x000071c025000000, 351272960, 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 351272960 bytes for committing reserved memory.

An error report file with more information is saved as:

/home/shubhaprasadsamal/hs_err_pid8201.log

[shubhaprasadsamal@gw01 ~]$ hadoop fs -ls /user/shubhaprasadsamal
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x000074e3e4200000, 351272960, 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 351272960 bytes for committing reserved memory.

An error report file with more information is saved as:

/home/shubhaprasadsamal/hs_err_pid8355.log

Please suggest.

Thanks,
Shitansu.

Resolved.
Thanks, Shitansu