From 185bf045fc74fac74ffe822bb4bb9724e7029997 Mon Sep 17 00:00:00 2001 From: Foivos Zakkak Date: Wed, 27 Mar 2024 12:28:42 +0200 Subject: [PATCH] Revert "Set MaxRAM and MaxRAMPercentage in launcher for native-image driver" This reverts commit 7fc9374f936d64386ab6363d5dabe7a3f8d63136. --- build.java | 2 -- 1 file changed, 2 deletions(-) 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) + "\"" +