]> source.dussan.org Git - poi.git/commitdiff
Increase memory for task allJavaDoc to avoid OOM during building
authorDominik Stadler <centic@apache.org>
Thu, 15 Apr 2021 14:25:47 +0000 (14:25 +0000)
committerDominik Stadler <centic@apache.org>
Thu, 15 Apr 2021 14:25:47 +0000 (14:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888793 13f79535-47bb-0310-9956-ffa450edef68

build.gradle

index d8a089bfe53c0adb04f2569637cc5af5ab655771..882df1b6b4146e9accc16b4aa9b04e4665f1cc7e 100644 (file)
@@ -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