File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -237,12 +237,14 @@ services:
237237 - ./services/otp/build-config.json:/var/opentripplanner/build-config.json:ro
238238 - ./services/otp/router-config.json:/var/opentripplanner/router-config.json:ro
239239 command : --load --serve
240+ environment :
241+ JAVA_TOOL_OPTIONS : " -Xmx12g"
240242 profiles : [transit]
241243 networks : [openmapx]
242244 deploy :
243245 resources :
244246 limits :
245- memory : 8g
247+ memory : 16g
246248 restart : unless-stopped
247249
248250 # ── Geocoding (Pelias) ─────────────────────────────────────────────────
@@ -494,13 +496,15 @@ services:
494496 volumes :
495497 - ./data/otp:/var/opentripplanner
496498 - ./services/otp/build-config.json:/var/opentripplanner/build-config.json:ro
499+ environment :
500+ JAVA_TOOL_OPTIONS : " -Xmx14g"
497501 profiles : [build]
498502 networks : [openmapx]
499503 command : --build --save
500504 deploy :
501505 resources :
502506 limits :
503- memory : 8g
507+ memory : 16g
504508
505509 pelias-schema :
506510 image : pelias/schema:latest
You can’t perform that action at this time.
0 commit comments