From 29e45b5d826f85692e222cc5a619c238d05a9a18 Mon Sep 17 00:00:00 2001 From: Stefan Miklosovic Date: Thu, 28 Aug 2025 11:38:36 +0200 Subject: [PATCH] Increase memory available for javadoc generation javadoc target is behaving unpredictably, sometimes fails, sometimes does not. I strongly suspect that it just does not have enough memory available and it fails. This is currently a blocker for releases. My empirical testing shows that more memory we assign to javadoc generation, less probable it is it will fail to finish successfuly. patch by Stefan Miklosovic for CASSANDRA-20868 --- build.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.xml b/build.xml index 81c0329c9a..42eee2f2af 100644 --- a/build.xml +++ b/build.xml @@ -344,7 +344,7 @@ windowtitle="${ant.project.name} API" classpathref="cassandra.classpath" bottom="Copyright © 2009- The Apache Software Foundation" useexternalfile="yes" encoding="UTF-8" failonerror="false" - maxmemory="256m" additionalparam="${jdk11-javadoc-exports}"> + maxmemory="1024m" additionalparam="${jdk11-javadoc-exports}">