Changing GC settings in EAP on Openshift gives error "Conflicting collector option used"
Issue
- Changing garbage collection option using command
oc env dc/demoeap JAVA_OPTS_APPEND=-XX:+UseG1GC
in JBoss EAP on Openshift, pods shows errorConflicting collector option used
. - How do I switch the default GC strategy from
-XX:-UseParallelOldGC
to-XX:+UseG1GC/-XX:+UseConcMarkSweepGC/-XX:+UseSerialGC
?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x for OpenShift
- JBoss Web Server
- 3.x for OpenShift
- 5.x for OpenShift
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.