Bitcoin Forum
September 21, 2018, 11:03:12 AM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. 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?

1537527792
Hero Member
*
Offline Offline

Posts: 1537527792

View Profile Personal Message (Offline)

Ignore
1537527792
Reply with quote  #2

1537527792
Report to moderator
1537527792
Hero Member
*
Offline Offline

Posts: 1537527792

View Profile Personal Message (Offline)

Ignore
1537527792
Reply with quote  #2

1537527792
Report to moderator
Make a difference with your Ether.
Donate Ether for the greater good.
SPRING.WETRUST.IO
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
DooMAD
Legendary
*
Online Online

Activity: 1736
Merit: 1145


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: 246
Merit: 202


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