I have a 32bit version of Ubuntu server with PAE active allow for the full use of the 8gb of RAM but I can't use more than 2gb of RAM in Java. I run the command
java -Xms6G -Xmx7G -jar server.jar
and I get the error:
Invalid initial heap size: -Xms6G The specified size exceeds the maximum representable size. Could not create the Java virtual machine.
do I need to change something with Java? The server is 32bit so PAE is active to allow for the server to use all the 8gb of RAM.