We see see OOMs in our app running on 256Ms frequently during deploys. Do OOMs co-relate with deploys for you, too?
I don’t recommend it, but you can enable swap
(with a lower swapiness) to temporairly mitigate this problem, or scale up to 512M and beyond:
# 2Gs
fly scale vm shared-cpu-1x --memory 2048