Why java eating all my RAM ? Is this correct ?If I had 24G of RAM Java will continue eating RAM ?

Solution Unverified - Updated -

Issue

  • In this server we only have an app that uses java-1.8.0-openjdk-1.8.0.144-0.b01.
    And the java pid consumes ~ 70% of memory.
$ grep xxx ps
USER      PID     %CPU  %MEM  VSZ-MiB  RSS-MiB  TTY    STAT  START  TIME    COMMAND 
Java_User  xxx    1.5  69.3 15986612 8402540 ?    Sl   Sep12 125:29 java -jar biometric-restapi.jar

Environment

  • java-1.8.0-openjdk-1.8.0.171-7.b10`
  • RHEL 7.4
  • biometric-restapi.jar

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content