Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5.3
-
Windows 10, OpenJDK 11.0.1
Description
On Windows, setting initial heap size greater than 128MB without setting maximum heap size, e.g. JAVA_OPTS=-Xms1G, results in the following error:
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size
This works fine on Linux. And it is a valid JVM parameter, since JVM will set its maximum heap to be the greater of its default value and initial heap size.