Invalid initial heap size: -Xms4096m -Xm4096m 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")
...