From 3b1c82f6cba7e140e2a8dbe5c35aee96d73dbdb7 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Thu, 15 Apr 2021 14:25:47 +0000 Subject: [PATCH] Increase memory for task allJavaDoc to avoid OOM during building git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888793 13f79535-47bb-0310-9956-ffa450edef68 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index d8a089bfe5..882df1b6b4 100644 --- a/build.gradle +++ b/build.gradle @@ -288,7 +288,7 @@ task allJavaDoc(type: Javadoc) { // for possible settings see https://docs.gradle.org/current/dsl/org.gradle.api.tasks.javadoc.Javadoc.html classpath = files(subprojects.collect { it.sourceSets.main.compileClasspath }) destinationDir = file("${buildDir}/docs/javadoc") - maxMemory="384M" + maxMemory="768M" // for possible options see https://docs.gradle.org/current/javadoc/org/gradle/external/javadoc/StandardJavadocDocletOptions.html options.use = true