Bitcoin Forum
September 19, 2024, 07:08:13 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin source 'make install' take over 2 giga capacity?  (Read 175 times)
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 413
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.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3500
Merit: 6833


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: 413
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!