Alex, I have compiled many times on 1GB and 2GB Raspberry Pi's without running out of memory so it is probably not a memory issue. PaulRead More...