I had to add this to my fly.toml
to make it works — sc2x comes with 512MB by default.
[[vm]]
size = 'shared-cpu-2x'
But I find it weird that these OOM issues suddenly appeared for a lot of people using the 256MB lately. Clearly something has changed. Yet no real answers :
- simple phoenix app with shared-cpu-1x is failing with OOM and
- After 3 months of my app running normally now it shutted down due to lack of memory
It seems strange that a 2 users CRUD API under development in Phoenix can’t run on 256MB… But I’m no expert so who knows