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.