Closed krasin closed 3 years ago
Hello,
Building binaries can be CPU, disk and memory-intensive, it's expected and we cannot change that.
I recommend using pre-build binary instead of trying to build the binary by yourself.
We provide the binaries (and their checksums)for all kinds of arch: https://github.com/go-acme/lego/releases/tag/v4.5.3
Welcome
What did you expect to see?
I'm building go-acme/lego from sources on a Digital Ocean instance with 1 GB RAM, which is their entry offering. I am using Go1.17.2 (the latest at the time of filing this issue)
I have checked out dfa0a6da68c36dd3ac65e2bdf75fe7711e03303b (aka v.4.5.3) and started to build the lego binary:
After waiting a bit, the build failed with an OOM issue while it tries to compile github.com/softlayer/softlayer-go@v1.0.3/services:
This is very consistently reproducible whenever I retry.
What did you see instead?
Build failing due to OOM issue (1 GB is not enough to compile github.com/softlayer/softlayer-go@v1.0.3/services)
How do you use lego?
Other
Reproduction steps
Version of lego
Logs
Go environment (if applicable)
go version go1.17.2 linux/amd64