From f2ff924335d887f3f9e8fea75492a59cfa8a3e43 Mon Sep 17 00:00:00 2001 From: Paolo Perrotta Date: Tue, 1 Dec 2015 22:30:42 +0100 Subject: [PATCH] Remove specific heap size settings The program hasn't required extra memory since the data migrated to DB. --- build.gradle | 2 -- 1 file changed, 2 deletions(-) diff --git a/build.gradle b/build.gradle index c93348b1..813a8259 100644 --- a/build.gradle +++ b/build.gradle @@ -112,7 +112,6 @@ def createProgramTask(taskName, mainClassName, taskDescription) { main = mainClassName classpath = sourceSets.main.runtimeClasspath args commandLineArgsOr([]) - maxHeapSize '8g' } } @@ -130,7 +129,6 @@ def createScript(name, mainClass) { mainClassName = mainClass applicationName = name classpath = tasks[JavaPlugin.JAR_TASK_NAME].outputs.files + configurations.runtime - defaultJvmOpts = ['-Xmx8g'] } tasks[taskName].dependsOn(project.jar)