From 29b13baf8aef3dae677df6ff25dd128c26fb332e Mon Sep 17 00:00:00 2001 From: Quincy Morgan <2046746+quincylvania@users.noreply.github.com> Date: Tue, 16 Jul 2024 11:59:13 -0400 Subject: [PATCH] Tweak heap size --- renderer/render_once.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/renderer/render_once.sh b/renderer/render_once.sh index 6521ae6..a030c86 100755 --- a/renderer/render_once.sh +++ b/renderer/render_once.sh @@ -25,7 +25,7 @@ docker system prune --force # Make sure we have the latest planetiler docker pull ghcr.io/onthegomap/planetiler:latest -docker run -e JAVA_TOOL_OPTIONS='-Xmx48g' \ +docker run -e JAVA_TOOL_OPTIONS='-Xmx2g' \ -v "$WORKING_DIR/data":/data \ -v "$DIR/layers":/layers \ ghcr.io/onthegomap/planetiler:latest --area=planet \ @@ -36,7 +36,7 @@ rm -rf "$WORKING_DIR/data/sources/monaco.osm.pbf" PLANET="$WORKING_DIR/data/planet.pmtiles" -docker run -e JAVA_TOOL_OPTIONS='-Xmx48g' \ +docker run -e JAVA_TOOL_OPTIONS='-Xmx150g' \ -v "$WORKING_DIR/data":/data \ -v "$DIR/layers":/layers \ ghcr.io/onthegomap/planetiler:latest --area=planet --bounds=world \ @@ -69,7 +69,7 @@ for file in "$DIR/layers/"*.yml; do echo "Processing layer: $layer_name" - docker run -e JAVA_TOOL_OPTIONS='-Xmx48g' \ + docker run -e JAVA_TOOL_OPTIONS='-Xmx150g' \ -v "$WORKING_DIR/data":/data \ -v "$DIR/layers":/layers \ ghcr.io/onthegomap/planetiler:latest generate-custom \