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?