Bitcoin Forum
April 25, 2024, 06:00:56 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin source 'make install' take over 2 giga capacity?  (Read 166 times)
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 405
Merit: 5


View Profile WWW
February 17, 2018, 10:30:27 PM
 #1

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.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714024856
Hero Member
*
Offline Offline

Posts: 1714024856

View Profile Personal Message (Offline)

Ignore
1714024856
Reply with quote  #2

1714024856
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


View Profile WWW
February 18, 2018, 02:18:38 AM
 #2

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?

wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 405
Merit: 5


View Profile WWW
February 18, 2018, 03:26:48 AM
 #3

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.
ScripterRon
Full Member
***
Offline Offline

Activity: 136
Merit: 120


View Profile
February 18, 2018, 12:53:45 PM
 #4

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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!