Hive client not working: memory issue

@itversity @BaLu_SaI

losing days due to memory issues :frowning: :frowning:

$ hive
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x00006b5f51000000, 486014976, 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(0x0000642109000000, 486014976, 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 486014976 bytes for committing reserved memory. # An error report file with more information is saved as: # /home/altafraghu/hs_err_pid29956.log

@itversity @BaLu_SaI
free -m
total used free shared buff/cache available
Mem: 32123 29768 233 1762 2121 408
Swap: 1021 1021 0
[altafraghu@gw01 ~]$ date
Wed Jul 12 13:25:33 EDT 2017

@altafraghu I am able to launch Hive from your account. Check again and end your sessions properly after using labs.

[altafraghu@gw01 ~]$ hive

Logging initialized using configuration in file:/etc/hive/2.5.0.0-1245/0/hive-log4j.properties
hive (default)>

@BaLu_SaI

[altafraghu@gw01 ~]$ date
Wed Jul 12 13:33:24 EDT 2017
[altafraghu@gw01 ~]$ free -m
total used free shared buff/cache available
Mem: 32123 29750 372 1762 2000 425
Swap: 1021 1021 0
[altafraghu@gw01 ~]$ date
Wed Jul 12 13:33:29 EDT 2017
[altafraghu@gw01 ~]$ hive
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x000066aefd000000, 486014976, 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(0x00007303b5000000, 486014976, 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 486014976 bytes for committing reserved memory. # An error report file with more information is saved as: # /home/altafraghu/hs_err_pid16363.log

[altafraghu@gw01 ~]$