Also, unless you re-launch the compilation and it’s always the same problem, you can re-launch it until it succeeds.
I’ve done that on a modest server (Digital Ocean 2 cores 2Gb), and I relaunched like 10 times until compilation success.
What did not work because of the lack of memory was the tests, the zbenchmark and the JointSplits (private transactions). But mining and unprotected transaction worked fine with the binary compiled that way.
If I need to start over I just delete the entire folders:
zcash
.zcash-params
.zcash
And just re-start installing from the git clone https://github.com/zcash/zcash.git step
I had the same error and wasn’t able to resolve it. Fortunately I am working on a VirtualBox image dedicated to zcash so I just wiped it and installed a fresh OS which solved everything.
I was never able to get it going, so I wiped my machine, reinstalled Ubuntu and will start over again. Please let me know if you are successful and if you did anything special to get it going!