tardis-dev / tardis-machine

Locally runnable server with built-in data caching, providing both tick-level historical and consolidated real-time cryptocurrency market data via HTTP and WebSocket APIs
https://docs.tardis.dev/api/tardis-machine
Mozilla Public License 2.0
235 stars 46 forks source link

Increase nodeJS RAM limit when using docker #10

Closed xguerin closed 2 years ago

xguerin commented 2 years ago

Hello,

Is there an easy way to increase the default node.js RAM limit when running tardis machine with docker?

Thanks,

thaaddeus commented 2 years ago

Hi, I think you can set it up via NODE_OPTIONS env variable when running docker - https://stackoverflow.com/questions/56982005/where-do-i-set-node-options-max-old-space-size-2048