"Could not Reserve Enough Space for Object Heap" Error Starting OC4J with 2GB in the JVM
(Doc ID 398852.1)
Last updated on JUNE 29, 2021
Applies to:Oracle Containers for J2EE - Version 10.1.2.0.0 and later
When attempting to set the heap size for the JVM process to 2GB, there are some errors and OC4J does not start.
Setting the parameters as follows:
"-server -Xms1600m -Xmx2g -Xmn256m -Xss128k -XX:+UseParallelGC -XX:ParallelGCThreads=4"
then, OC4J does not start.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document