Usage of Java flags InitialRAMPercentage and MaxRAMPercentage

Solution Unverified - Updated -

Issue

  • How to use InitialRAMPercentage and Min|MaxRAMPercentage?
  • Are these JVM parameters applicable only for container environment or can we use in local machines: InitialRAMPercentage Min|MaxRAMPercentage?

Environment

  • OpenJDK 11
  • OpenJDK 8 (backported after 1.8.181+)

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