JDK 64-Bit Server VM warning: Max heap size too large for Compressed Oops
Issue
- I'm getting this error below when I set my max heap size to 32GB or higher and use
-XX:+UseCompressedOops
:
OpenJDK 64-Bit Server VM warning: Max heap size too large for Compressed Oops
Java HotSpot(TM) 64-Bit Server VM warning: Max heap size too large for Compressed Oops
Environment
- Red Hat Enterprise Linux
- Java
- 1.7
- 1.8
- Red Hat JBoss Data Grid (JDG)
- 6.5.0
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.