You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bridges created with default machine size (shared-1x-cpu@256MB) occasionally crash due to memory spikes, specially when dealing with large files. Fly.io offers the option to enable Linux swap on Machines with the config swap_size_mb.
This can be configured when creating the machine with the option
From what I tested increasing the memory to 512MB is probably an overkill, and adding swap prevents the restarts. This change/info could help others to run bridges smoothly without paying extra.
The text was updated successfully, but these errors were encountered:
caiohsramos
changed the title
Memory spikes cause OOM error
Memory spike causes OOM error
Sep 29, 2023
Bridges created with default machine size (shared-1x-cpu@256MB) occasionally crash due to memory spikes, specially when dealing with large files. Fly.io offers the option to enable Linux swap on Machines with the config
swap_size_mb
.This can be configured when creating the machine with the option
at https://github.com/beeper/bridge-deployer/blob/580ccfb4302f54ea9f4dc6e02a6379ea82c96545/app/api/deploy/route.ts#L102-L132
From what I tested increasing the memory to 512MB is probably an overkill, and adding swap prevents the restarts. This change/info could help others to run bridges smoothly without paying extra.
The text was updated successfully, but these errors were encountered: