File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ private void AssignPeersMemory(INetworkConfig networkConfig)
122
122
123
123
private void AssignTxPoolMemory ( ITxPoolConfig txPoolConfig )
124
124
{
125
- long hashCacheMemory = txPoolConfig . Size / 4L * 1024L * 128L ;
125
+ long hashCacheMemory = txPoolConfig . Size / 1024L * 128L ;
126
126
if ( ( _remainingMemory * 0.05 ) < hashCacheMemory )
127
127
{
128
128
hashCacheMemory = Math . Min ( ( long ) ( _remainingMemory * 0.05 ) , hashCacheMemory ) ;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ namespace Nethermind.TxPool
5
5
{
6
6
public static class MemoryAllowance
7
7
{
8
- public static int MemPoolSize { get ; set ; } = 1 << 11 ;
9
- public static int TxHashCacheSize { get ; set ; } = 1 << 19 ;
8
+ public static int MemPoolSize { get ; set ; } = 2_048 ;
9
+ public static int TxHashCacheSize { get ; set ; } = 131_072 ;
10
10
}
11
11
}
You can’t perform that action at this time.
0 commit comments