Unable to login into hive getting below error

/usr/hdp/2.6.5.0-292/hive/bin/hive-config.sh: fork: Cannot allocate memory
/usr/hdp/2.6.5.0-292/hive/bin/hive-config.sh: fork: Cannot allocate memory
/usr/hdp/2.6.5.0-292/hive/bin/hive.distro: fork: Cannot allocate memory
/usr/hdp/2.6.5.0-292/hive/bin/hive.distro: fork: Cannot allocate memory
/usr/hdp/2.6.5.0-292/hive/bin/hive.distro: fork: Cannot allocate memory
/usr/hdp/2.6.5.0-292/hive/bin/hive.distro: fork: Cannot allocate memory
Unable to determine Hadoop version information.
‘hadoop version’ returned:
/usr/hdp/2.6.5.0-292//hadoop/bin/hadoop.distro: fork: Cannot allocate memory

Hi @Salma_Mahak, Please try now.