mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-31 16:21:21 +00:00
fix ram estimation for indexing (#5773)
This commit is contained in:
parent
64fe6708fa
commit
3aa97c57c1
@ -18,7 +18,7 @@ func (r estimatedRamPerWorker) Workers() int {
|
||||
}
|
||||
|
||||
const (
|
||||
IndexSnapshot = estimatedRamPerWorker(2 * datasize.MB) //elias-fano index building is single-threaded
|
||||
IndexSnapshot = estimatedRamPerWorker(2 * datasize.GB) //elias-fano index building is single-threaded
|
||||
CompressSnapshot = estimatedRamPerWorker(1 * datasize.GB) //1-file-compression is multi-threaded
|
||||
ReconstituteState = estimatedRamPerWorker(4 * datasize.GB) //state-reconstitution is multi-threaded
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user