We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7927ac4 commit 9267874Copy full SHA for 9267874
1 file changed
.build/check-code.sh
@@ -24,5 +24,5 @@ command -v ant >/dev/null 2>&1 || { echo >&2 "ant needs to be installed"; exit 1
24
[ -f "${CASSANDRA_DIR}/build.xml" ] || { echo >&2 "${CASSANDRA_DIR}/build.xml must exist"; exit 1; }
25
26
# execute. memory needs to fit within the specified container size, see .jenkins/Jenkinsfile
27
-ANT_OPTS="-Xmx1g" ant -f "${CASSANDRA_DIR}/build.xml" check # dependency-check # FIXME dependency-check now requires NVD key downloaded first
+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
28
exit $?
0 commit comments