totally but I’m not able to keep an uplink going indefinitely which is what I need for this app. Is there a way to increase the memory or unload some of it somehow?
So, there are a few ways you can approach this: 1) upgrade your plan and get some custom compute.
2) swap out your code for something less intensive.
3) switch out to a third party API and abstract the memory hit
Or
4) set up a lightsail or similar whose job it is purely to run your memory intensive service as an all day uplink.