Author

Topic: How is server's spec should be to compile coin? (Read 123 times)

jr. member
Activity: 413
Merit: 5
I tried to compile newest version of coin core at AWS's t2 micro EC2 instance, it fails with this erros.

---------
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
  CXX      gamecoind-bitcoind.o
  CXX      libbitcoin_server_a-addrdb.o
  CXX      libbitcoin_server_a-addrman.o
  CXX      libbitcoin_server_a-bloom.o
  CXX      libbitcoin_server_a-blockencodings.o
  CXX      libbitcoin_server_a-chain.o
  CXX      libbitcoin_server_a-checkpoints.o
  CXX      consensus/libbitcoin_server_a-tx_verify.o
  CXX      libbitcoin_server_a-httprpc.o
  CXX      libbitcoin_server_a-httpserver.o
  CXX      libbitcoin_server_a-init.o
virtual memory exhausted: Cannot allocate memory
Makefile:5658: recipe for target 'libbitcoin_server_a-init.o' failed
make[2]: *** [libbitcoin_server_a-init.o] Error 1

-------------

t2 micro spec is 1 cpu, 1g ram.

So ram shortage is reason of this error?

Then how much ram should be to compile?

4g? or 8g?

And how many cpu needed and how much ssh (or hdd) space needed?

Thanks.
Jump to: