Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: linz on October 01, 2022, 04:09:00 PM



Title: can't close libbitcoin_node_a-net_processing.o: No space left on device
Post by: linz on October 01, 2022, 04:09:00 PM
i try to compile bitcoin now ,
I make swap partition 4GB Size , is it not enough? last two days , i make by 4 gb , it is compiled success . but bitcoin src updated yesterday .. need more space?

how can solve this error
: Fatal error: can't close libbitcoin_node_a-net_processing.o: No space left on device


Title: Re: can't close libbitcoin_node_a-net_processing.o: No space left on device
Post by: jackg on October 01, 2022, 05:05:25 PM
Have you tried doing that bit from a fresh reboot when less is running on the device. Also I remember there are flags with compilers that let you limit how much space they use and how aggressive their garbage handlers are, have you tried looking into that to see if you can limit it to the 4gb elsewhere (I thought it'd do it more automatically though - the error isn't too descriptive of where it got stuck either imo).


Title: Re: can't close libbitcoin_node_a-net_processing.o: No space left on device
Post by: vv181 on October 01, 2022, 05:26:59 PM
The error seems to indicate you are running out of storage.

What is your hard drive free space/disk usage?


Title: Re: can't close libbitcoin_node_a-net_processing.o: No space left on device
Post by: NotATether on October 01, 2022, 05:50:51 PM
Note that you can also change the C/C++ compiler to Clang, which is way less memory-intensive than gcc. In your shell, paste this:

Code:
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++

Make sure that Clang is installed before you do this.