Bitcoin Forum
October 22, 2018, 06:56:26 AM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: What happens if mempool grows huge?  (Read 454 times)
boogersguy
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
December 08, 2017, 10:54:16 AM
 #1

Noticing the mempool is around 175MB right now and wondering how bitcoin core nodes handle the case if it grows too large (500mb - 1gb).  Is there a hard limit at which point all new transactions are basically rejected? Or does the software flush older transactions in order to accept new.  What is the MB limit?

1540191386
Hero Member
*
Offline Offline

Posts: 1540191386

View Profile Personal Message (Offline)

Ignore
1540191386
Reply with quote  #2

1540191386
Report to moderator
1540191386
Hero Member
*
Offline Offline

Posts: 1540191386

View Profile Personal Message (Offline)

Ignore
1540191386
Reply with quote  #2

1540191386
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1540191386
Hero Member
*
Offline Offline

Posts: 1540191386

View Profile Personal Message (Offline)

Ignore
1540191386
Reply with quote  #2

1540191386
Report to moderator
DooMAD
Legendary
*
Offline Offline

Activity: 1764
Merit: 1173


Leave no FUD unchallenged


View Profile WWW
December 08, 2017, 02:29:29 PM
 #2

Technically, there's no "limit" in the same way as there's no single, unified "mempool".  Each node maintains its own individual mempool, so all depends on what each individual node can cope with.  Users with full nodes can change their preferences in that regard via customised configurations.  However, the default setting for most nodes is 300MB, so we should be a little concerned if we approach that size on average across the network.

pebwindkraft
Full Member
***
Offline Offline

Activity: 251
Merit: 232


View Profile
December 08, 2017, 06:42:21 PM
 #3

Pieter Wuille explained in a stack exchange task, that since version 12 the bitcoin core software can expire transactions, which are longer than 72 hours in the mempool. This would keep the mempool fresh.
PVminer
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
December 08, 2017, 08:31:18 PM
 #4

However, the default setting for most nodes is 300MB, so we should be a little concerned if we approach that size on average across the network.

There is no danger except a "danger" of large fees. Bitcoin Core will remove the low-paying transaction from the mempool so there is no way the memory gets exhausted. And actually, we crossed the 300 MB mark. My node (configured up to 600 MB) is currently at 490 MB usage.
mda
Member
**
Offline Offline

Activity: 93
Merit: 10


View Profile
December 08, 2017, 10:55:21 PM
 #5

If bitcoin network becomes congested again then another chain is split from the last one (or some kind of lottery is employed) and so on.
jnano
Member
**
Offline Offline

Activity: 237
Merit: 13


View Profile
December 09, 2017, 06:19:51 AM
 #6

And actually, we crossed the 300 MB mark. My node (configured up to 600 MB) is currently at 490 MB usage.
Do different nodes use different memory formats? The stat sites I've checked, like Johoe's or BTC.com, peaked at just approximately 180MB.
PVminer
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
December 09, 2017, 08:16:14 AM
 #7

And actually, we crossed the 300 MB mark. My node (configured up to 600 MB) is currently at 490 MB usage.
Do different nodes use different memory formats? The stat sites I've checked, like Johoe's or BTC.com, peaked at just approximately 180MB.


The node memory usage is larger than the raw transactions size  due to some bookkeeping overhead. The sites report raw size while nodes have real usage limits. 300 MB standard limit is the real one, including the overhead and it has been crossed already, though it is slowly trending down (445 MB right now for my node).
btctousd81
Sr. Member
****
Offline Offline

Activity: 392
Merit: 252


View Profile WWW
December 10, 2017, 03:49:25 AM
 #8

more memory gets alloted for mempool.,
i read in source , there is limit of ~400 mb., but it does not stops bitcoin-core to use more memory in case of 400 mb gets full.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!