Staging environment? How to debug out-of-memory errors in production on Fly.io?

I guess you might be using argon2 for password hashing. It would explain why the app is OOM killed during registration and login.

Some more info: Argon2.Stats — argon2_elixir v2.4.0