My project requires 1 GB of ram to compile, but for the program itself, I only need ~256 MB of ram. is there a way to decrease the amount of ram the machine has after the build step, or a way for me to build the project locally and then upload that?
@voxal have you tried increasing the memory for the remote builder?
As @billy says, by default Fly will use a remote builder which comes with plenty of RAM. That builds the image which the vm then runs. To answer your other question, yep, you can indeed build locally instead of using that. From flyctl deploy · Fly Docs run:
fly deploy --local-only. Assuming you have Docker locally, that will do as the flag suggests
Ah I see, thank you