Skip to content

Commit b353c5c

Browse files
SQUASH – fix memory
1 parent 15f7e91 commit b353c5c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

site-content/docker-entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ generate_site_yaml() {
216216
render_site_content_to_html() {
217217
pushd "${CASSANDRA_WEBSITE_DIR}/site-content" > /dev/null
218218
log_message "INFO" "Building the site HTML content."
219-
antora site.yaml
219+
NODE_OPTIONS="--max-old-space-size=4096" antora site.yaml
220220
log_message "INFO" "Rendering complete!"
221221
popd > /dev/null
222222
}
@@ -458,4 +458,4 @@ fi
458458
if [ "${COMMAND_PREVIEW}" = "run" ]
459459
then
460460
run_preview_mode
461-
fi
461+
fi

0 commit comments

Comments
 (0)