Invalid initial heap size: -Xms=1g code example
Example: Invalid initial heap size: -Xms4096m -Xm4096m
Options opt = new OptionsBuilder()
...
.jvmArgs("-Xms2048m", "-Xmx2048m", "-XX:MaxDirectMemorySize=512M")
...
Options opt = new OptionsBuilder()
...
.jvmArgs("-Xms2048m", "-Xmx2048m", "-XX:MaxDirectMemorySize=512M")
...