How to change JVM memory options using xPaaS JBoss EAP image with Openshift

Solution In Progress - Updated -

Issue

  • How to customize Xms/Xmx memory params for JBoss JVM?
  • Adding a JAVA_OPTS env variable in deployconfig with memory sizings causes other values in JAVA_OPTS to be incorrect.

Environment

  • Red Hat Openshift Container Platform
    • 3.x
  • Red Hat Middleware for Openshift Containers
    • JBoss Enterprise Application Platform
      • 6.4.x
      • 7.x
    • JBoss Webserver
      • 3.x
    • JBoss Data Grid
      • 6.x
      • 7.x
    • JBoss Data Virtualization
      • 6.x
    • JBoss BRMS Decision Server
      • 6.x
    • JBoss BPM Process Server
      • 6.x
    • Red Hat SSO
      • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.