Increase BRouter heap to 1GB

512MB heap was too tight for 720MB of Germany segments, causing the
thread-priority-watchdog to kill routing requests after 1 second when
segment loading triggered GC pressure.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-03-25 13:17:05 +01:00
parent 5f5f583722
commit c155bfcef5
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9

View file

@ -24,7 +24,7 @@ USER app
EXPOSE 17777
# BRouter server: <segmentdir> <profiledir> <customprofiledir> <port> <maxthreads>
CMD ["java", "-Xmx512M", "-Xms128M", "-Xmn32M", \
CMD ["java", "-Xmx1024M", "-Xms256M", "-Xmn64M", \
"-DmaxRunningTime=300", \
"-cp", "brouter.jar", \
"btools.server.RouteServer", \