I have a typescript nodejs application (specifically running remix js) and i have been running into memory issues (OOM) when trying to run one off ts-node scripts on my VM.
I assume ts-node just uses too much memory for my 256MB limit since the nodejs server is already taking up a big portion of memory. But I am wondering what the work around is.
I need to run one off scripts every once in a while that will talk with my ORM (prisma) and make changes to the database that way. Or just various other tasks I may need to accomplish.
Currently as a free user I have a postgres vm, node js vm, and a builder vm for the docker builds.