I'm thinking it might be the TypeScript compile step that's running out of memory when trying to run
ts-node
since when deploying the server application that's working, TS gets compiled during the build step and the start command called by Heroku is just running