Bitcoin Forum
May 04, 2024, 12:43:30 PM *
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.
1714826610
Hero Member
*
Offline Offline

Posts: 1714826610

View Profile Personal Message (Offline)

Ignore
1714826610
Reply with quote  #2

1714826610
Report to moderator
1714826610
Hero Member
*
Offline Offline

Posts: 1714826610

View Profile Personal Message (Offline)

Ignore
1714826610
Reply with quote  #2

1714826610
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714826610
Hero Member
*
Offline Offline

Posts: 1714826610

View Profile Personal Message (Offline)

Ignore
1714826610
Reply with quote  #2

1714826610
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6581


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!