Skip to content

Commit

Permalink
Revert "Set MaxRAM and MaxRAMPercentage in launcher for native-image …
Browse files Browse the repository at this point in the history
…driver"

This reverts commit 7fc9374.
  • Loading branch information
zakkak committed Mar 27, 2024
1 parent ad9bd50 commit 185bf04
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions build.java
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,6 @@ private static void patchNativeImageLauncher(Path nativeImage, String mandrelVer
logger.debugf("launcherMatcher.group(1): %s", launcherMatcher.group(1));
logger.debugf("launcherMatcher.group(2): %s", launcherMatcher.group(2));
final String launcherLine = launcherMatcher.group(1) +
" -XX:MaxRAM=256m" +
" -XX:MaxRAMPercentage=80" +
" -Dorg.graalvm.version=\"" + mandrelVersion + "\"" +
" -Dorg.graalvm.vendorversion=\"Mandrel-" + mandrelVersion + "\"" +
" -Dorg.graalvm.vendor=\"" + (vendor != null ? vendor : defaultVendor) + "\"" +
Expand Down

0 comments on commit 185bf04

Please sign in to comment.