Setting Heap Size for Java (32-bit) to 3072m on OL6 (64-bit) Fails With Error "Could not reserve enough space for object heap"

(Doc ID 2313931.1)

Last updated on OCTOBER 11, 2017

Applies to:

Linux OS - Version Oracle Linux 6.9 and later
Linux x86-64

Symptoms

Setting Heap size on Java (32-bit) to 3072m on OL6 (64-bit) fails:

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms