diff --git a/build.java b/build.java index 1ff2f65..5ea095c 100644 --- a/build.java +++ b/build.java @@ -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) + "\"" +