Skip to content

Commit

Permalink
Tweak heap size
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Jul 16, 2024
1 parent 6a6d707 commit 29b13ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions renderer/render_once.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit 29b13ba

Please sign in to comment.