Author Topic: Unable to build on VPS with 2GB memory  (Read 1515 times)

0 Members and 1 Guest are viewing this topic.

Offline doxymoron

  • Jr. Member
  • **
  • Posts: 43
    • View Profile
wallet_approve_delegate doxymoron-delegate
75% pay rate
BTSX: doxymoron

Offline cgafeng

BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

Offline doxymoron

  • Jr. Member
  • **
  • Posts: 43
    • View Profile
I recently setup a VPS with 2GB of memory, but when trying to build I am getting this error:

[ 67%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o
virtual memory exhausted: Cannot allocate memory
make[2]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o] Error 1
make[1]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/all] Error 2
make: *** [all] Error 2

Is there any way around this?  Or is the only solution to up the memory?
wallet_approve_delegate doxymoron-delegate
75% pay rate
BTSX: doxymoron