Skip to content

Commit 2ebc3be

Browse files
committed
Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0: Increase Xmx to 2Gb for Ant executed by check-code.sh to avoid OOM
2 parents 6525296 + 48aebda commit 2ebc3be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.build/check-code.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ command -v ant >/dev/null 2>&1 || { echo >&2 "ant needs to be installed"; exit 1
2424
[ -f "${CASSANDRA_DIR}/build.xml" ] || { echo >&2 "${CASSANDRA_DIR}/build.xml must exist"; exit 1; }
2525

2626
# execute. memory needs to fit within the specified container size, see .jenkins/Jenkinsfile
27-
ANT_OPTS="-Xmx1g -XX:+PrintClassHistogram -XX:OnOutOfMemoryError='kill -QUIT %p'" ant -f "${CASSANDRA_DIR}/build.xml" check # dependency-check # FIXME dependency-check now requires NVD key downloaded first
27+
ANT_OPTS="-Xmx2g -XX:+PrintClassHistogram -XX:OnOutOfMemoryError='kill -QUIT %p'" ant -f "${CASSANDRA_DIR}/build.xml" check # dependency-check # FIXME dependency-check now requires NVD key downloaded first
2828
exit $?

0 commit comments

Comments
 (0)