Hi all,
I run a Java code with the following command:
$ java -Xms4G -Xmx4G myjavacode
My cpu's RAM capacity is 6GB.
However it always fail to execute giving me this error message:
Invalid initial heap size: -Xms5G
The specified size exceeds the maximum representable size.
Could not create the Java virtual machine
Is there any way to set up Java option so that we can execute the code?