Article 6HR9K Java process is consuming high.

Java process is consuming high.

by
ratan61
from LinuxQuestions.org on (#6HR9K)
Hello team,

Please find the below issue:
OpenJDK 64-Bit Server VM warning: INFO:
os::commit_memory(0x0000000080000000, 2147483648, 0) failed; error='Not
enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to
continue.
# Native memory allocation (mmap) failed to map 2147483648 bytes for
committing reserved memory.

what I understand is java is consuming 80% of the mem . how can we reduce ?

the following are checked :

1.checked the swap memory which is full.
2.checked the top command and found that java is consuming 81.3%.

to me restart of application is needed since we cannot kill the java. and one more thing that is actually questioning me is

free -m is showing me the following :

free -m
total used free shared buff/cache available
Mem: 16003 14012 208 0 1782 1652
Swap: 1023 1023 0

that means swap mem is being utilized but swappiness value is 0.
when the value swapiness is set to 0 why swap is being utlized. can you please check and let me know ?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments