Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: wsxdrfv on February 17, 2018, 10:30:27 PM



Title: Bitcoin source 'make install' take over 2 giga capacity?
Post by: wsxdrfv on February 17, 2018, 10:30:27 PM
So I am trying customize litecoin(bitcoin) source, after revise code, I typed, 'make', 'make clean', 'sudo make install' at first time.

After that, I revised source many times, but only typed 'make'.

Then it seems not work? Got stuck at generating new genesis block.

So I typed additionally 'make clean', 'sudo make install' after 'make'.

Now suddenly bitcoin folder's size become over 2 giga, almost take all the empty capacity (total 20giga hdd inside virtualbox), system become unstable, even all apps does not appear, can't run terminal itself.

Why this happen? How can I avoid this?

Thanks.


Title: Re: Bitcoin source 'make install' take over 2 giga capacity?
Post by: achow101 on February 18, 2018, 02:18:38 AM
Now suddenly bitcoin folder's size become over 2 giga, almost take all the empty capacity (total 20giga hdd inside virtualbox), system become unstable, even all apps does not appear, can't run terminal itself.
By "bitcoin folder" do you mean the folder containing the source code or do you mean the datadir?


Title: Re: Bitcoin source 'make install' take over 2 giga capacity?
Post by: wsxdrfv on February 18, 2018, 03:26:48 AM
Now suddenly bitcoin folder's size become over 2 giga, almost take all the empty capacity (total 20giga hdd inside virtualbox), system become unstable, even all apps does not appear, can't run terminal itself.
By "bitcoin folder" do you mean the folder containing the source code or do you mean the datadir?
Folder containing the source code.


Title: Re: Bitcoin source 'make install' take over 2 giga capacity?
Post by: ScripterRon on February 18, 2018, 12:53:45 PM
Use the 'strip' command to remove debug information from the executables (bitcoind, bitcoin-cli, etc).  This will significantly reduce the size of the executable files.