Skip to content

Commit

Permalink
Remove specific heap size settings
Browse files Browse the repository at this point in the history
The program hasn't required extra memory since the data migrated to DB.
  • Loading branch information
nusco committed Dec 1, 2015
1 parent 5297b70 commit f2ff924
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ def createProgramTask(taskName, mainClassName, taskDescription) {
main = mainClassName
classpath = sourceSets.main.runtimeClasspath
args commandLineArgsOr([])
maxHeapSize '8g'
}
}

Expand All @@ -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)
Expand Down

0 comments on commit f2ff924

Please sign in to comment.