Closed greenscientist closed 9 months ago
The max-old-space parameter was ignored and we were running with only 2gig of max memory. I was hitting the limit when importing the STM GTFS. (I have lot of previously loaded nodes, which might explain why it takes more memory here)
We need to pass node arguments before the script filename, otherwise the arguments are passed to the script.
From the Node doc: node [options] [V8 options] [ | -e "script" | -] [--] [arguments]
Maybe this worked when we were using yarn babel-node, but it's not working with straight up yarn node