Skip to content

Commit 3902185

Browse files
committed
Limit initial heap rather than final heap size
1 parent 15048eb commit 3902185

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

protobuf-maven-plugin/src/main/java/io/github/ascopes/protobufmavenplugin/java/JavaAppToExecutableScriptFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ final class JavaAppToExecutableScriptFactory implements JavaAppToExecutableFacto
6262
"-XX:+CrashOnOutOfMemoryError",
6363
"-XX:+TieredCompilation",
6464
"-XX:+UseSerialGC",
65-
"-Xmx32m",
65+
"-Xms32m",
6666
"-Xshare:auto"
6767
);
6868
private static final Logger log = LoggerFactory.getLogger(JavaAppToExecutableScriptFactory.class);

0 commit comments

Comments
 (0)