Usage of Java flags InitialRAMPercentage and MaxRAMPercentage

Solution Verified - 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

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content