Encountered the following error attempting to compile monero from source following this guide: https://github.com/moneroexamples/monero-compilation#example-compilation-of-monero-on-ubuntu-1804. Building on Ubuntu in a VM on windows

Error log

The error always occurred when it reaches the core_rpc_server. Sometimes it hangs my VM entirely, sometimes it manages to exit with the above error code. Any solutions? Can't use cli binary because I need to use the following library: https://github.com/moneroexamples/transactions-export

  • How much memory available, and what are your build steps? Are you able to build from github.com/monero-project/monero ? – Mogens TrasherDK Jun 1 at 10:59
  • 6.8 GB available. Followed the exact steps from github.com/moneroexamples/…. No, I get the same error too. – James. W. Phua Jun 1 at 11:09
  • If you were refering to RAM, it was 2GB. I increased ram allocated to 8gb and restarted, still trying. – James. W. Phua Jun 1 at 11:56
  • 1
    Update: successfully compiled Monero after bumping RAM to 8GB. Looks like lack of RAM was causing GCC to crash. Thanks for the prompt. – James. W. Phua Jun 1 at 12:40
  • Yes. Minimum 2GB RAM per thread. – Mogens TrasherDK Jun 1 at 12:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.