Skip to content

Commit 29e45b5

Browse files
committed
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
1 parent 1c5286f commit 29e45b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
windowtitle="${ant.project.name} API" classpathref="cassandra.classpath"
345345
bottom="Copyright © 2009- The Apache Software Foundation"
346346
useexternalfile="yes" encoding="UTF-8" failonerror="false"
347-
maxmemory="256m" additionalparam="${jdk11-javadoc-exports}">
347+
maxmemory="1024m" additionalparam="${jdk11-javadoc-exports}">
348348
<filesets/>
349349
</javadoc>
350350
<fail message="javadoc failed">

0 commit comments

Comments
 (0)