Railway not respecting heap size flag
When I set the start command for my node.js program to
node --max-old-space-size=200 app.js
the 200mb limit is not being used.7 Replies
Project ID:
965c3d56-d979-45fb-b374-21cfdaa3bec9
965c3d56-d979-45fb-b374-21cfdaa3bec9
instead of setting it in your start command, set it in the service variables
NODE_OPTIONS
= --max-old-space-size=256
thanks that worked
awesome, but uh there might bigger issues if your app is using ~1.2gb
yeah... there's defintely a memory leak I don't want to bother finding, I only need this cron job to run for another week haha
alrighty