How to change JVM memory options using Openshift images with Java?
Issue
- How to customize
Xms
/Xmx
memory params for JBoss JVM? - Adding a
JAVA_OPTS
env variable in deploy config with memory sizings causes other values inJAVA_OPTS
to be incorrect.
Environment
- Red hat OpenShift Container Platform (OCP)
- 4.x
- 3.x
- Red Hat Middleware for Openshift Containers
- JBoss Enterprise Application Platform (EAP)
- 6.4.x
- 7.x
- JBoss Web Server (JWS)
- 3.x
- 5.x
- JBoss Data Virtualization
- 6.x
- JBoss BRMS Decision Server
- 6.x
- JBoss BPM Process Server
- 6.x
- Red Hat SSO
- 7.x
- Red Hat Process Automation Manager
- 7.x
- Red Hat Decision Manager
- 7.x
- JBoss Enterprise Application Platform (EAP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.