How to minimize Java process size

Solution In Progress - Updated -

Issue

  • JVM does not release memory back to OS
  • We have a burstable memory configuration. After the job completes the JVM does not garbage collect the heap, or if it does, it doesn't reduce the heap size and release that memory back to the OS.
  • We want the JVM to release the memory for other containers to use.

Environment

  • OpenJDK

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