From ed3ef9ee646e363901af13bb4086b37d2b0d43e4 Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Mon, 31 Mar 2025 18:25:47 +0200 Subject: [PATCH] push block cache memory from 512mb -> 1gb --- eth/downloader/queue.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eth/downloader/queue.go b/eth/downloader/queue.go index 2478e4da76..f9b635b1d9 100644 --- a/eth/downloader/queue.go +++ b/eth/downloader/queue.go @@ -42,9 +42,9 @@ const ( ) var ( - blockCacheMaxItems = 8192 // Maximum number of blocks to cache before throttling the download - blockCacheInitialItems = 32 // Initial number of blocks to start fetching, before we know the sizes of the blocks - blockCacheMemory = 512 * 1024 * 1024 // Maximum amount of memory to use for block caching + blockCacheMaxItems = 8192 // Maximum number of blocks to cache before throttling the download + blockCacheInitialItems = 32 // Initial number of blocks to start fetching, before we know the sizes of the blocks + blockCacheMemory = 1024 * 1024 * 1024 // Maximum amount of memory to use for block caching ) var (