Using JAVA_MAX_MEM_RATIO on container JBoss EAP 7 image

Solution Verified - Updated -

Issue

  • We configure the JAVA_INITIAL_MEM_RATIO and JAVA_MAX_MEM_RATIO in the deployment's configmap file and only the JAVA_INITIAL_MEM_RATIO works as expected.
  • Question for MaxRAMPercentage: is better set via JAVA_MAX_MEM_RATIO rather than setting via JAVA_OPTS directly?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x
  • Red hat OpenShift Container Platform (OCP)
    • 4.x

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