I recently installed Azul Zing "zing-jdk1.8.0-16.01.2.0-2-x86_64" on a private cloud in AWS. When I do "java -version OR java", I am getting following:
Failed to reserve lower 2g address. error : 12
My Java Home is set fine:
echo $JAVA_HOME
/opt/zing/zing-jdk1.8.0-16.01.2.0-2-x86_64
From the error it looks like its some configuration issue related to memory allocation. I am new to Azul Zing, can someone suggest me what could be the reason?
You can resolve this by running the command 'system-config-zing-memory'. You can take the default settings and ratios for the heap, or specify your own. Once you've done that, the VM will attempt to start with your configuration.