From a8d889de3da8468d8191e6a0744c9eccb85dd71c Mon Sep 17 00:00:00 2001 From: "Jan S." Date: Sat, 20 Jul 2024 21:46:45 +0200 Subject: [PATCH] fix(launch4j): do not overwrite Java heap configuration from applicationDefaultJvmArgs (PR #2218) --- jadx-gui/build.gradle.kts | 3 --- 1 file changed, 3 deletions(-) diff --git a/jadx-gui/build.gradle.kts b/jadx-gui/build.gradle.kts index 735ca8262..c73fdf635 100644 --- a/jadx-gui/build.gradle.kts +++ b/jadx-gui/build.gradle.kts @@ -115,9 +115,6 @@ launch4j { chdir.set("") jvmOptions.set(application.applicationDefaultJvmArgs.toSet()) requires64Bit.set(true) - initialHeapPercent.set(5) - maxHeapSize.set(4096) - maxHeapPercent.set(70) downloadUrl.set("https://www.oracle.com/java/technologies/downloads/#jdk21-windows") bundledJrePath.set(if (project.hasProperty("bundleJRE")) "%EXEDIR%/jre" else "%JAVA_HOME%") classpath.set(tasks.getByName("shadowJar").outputs.files.map { "%EXEDIR%/lib/${it.name}" }.toSortedSet())