Skip to content

Commit

Permalink
use --no-server and set Xmx to a higher value when invoking native-im…
Browse files Browse the repository at this point in the history
…age (gluonhq#370)

* use --no-server and set Xmx to a higher value when invoking native-image
Fixes gluonhq#369 and gluonhq#362

* don't specify xmx
  • Loading branch information
johanvos authored and abhinayagarwal committed Mar 8, 2020
1 parent d529051 commit 3f023c9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ public boolean compile(String cp) throws IOException, InterruptedException {
}
compileRunner.addArg("--report-unsupported-elements-at-runtime");
compileRunner.addArg("-Djdk.internal.lambda.eagerlyInitialize=false");
compileRunner.addArg("--no-server");
compileRunner.addArg("-H:+ExitAfterRelocatableImageWrite");
compileRunner.addArg("-H:TempDirectory="+tmpDir);
compileRunner.addArg("-H:+SharedLibrary");
Expand Down

0 comments on commit 3f023c9

Please sign in to comment.