okjustgo
okjustgo
btw, I'm seeing what seems like a similar situation when trying to run erigon on a RasberryPi with 8gb ram. I have swap setup so erigon never gets killed, but...
> Also you can try add to `cmd/erigon/main.go` line `compress.SetDecompressionTableCondensity(6)` > > and add --txpool.disable hmm, I don't see `compress.SetDecompressionTableCondensity(6)` in https://github.com/ledgerwatch/erigon/blob/stable/cmd/erigon/main.go or https://github.com/ledgerwatch/erigon/blob/devel/cmd/erigon/main.go
got it, does it matter where? I'd probably add it above these statements: https://github.com/ledgerwatch/erigon/blob/c6a000997e39b4bb89a2b73403dbdf9fb16780c0/cmd/erigon/main.go#L56-L58
> Try smaller Tried `--batchSize 24M` doesn't seem like it slowed down the time it takes to dip into swap at all. Idk if there is a way to confirm...
> and add --txpool.disable Just for my understanding, the --txpool.disable will free up some memory during the execution phase, but needs to be turned back on once the node is...
`compress.SetDecompressionTableCondensity(6)` is working much better now (using `alpha` branch, `devel` seems to be broken) with --batchSize 16M I'm seeing batch hit 64MB before committing memory is staying much lower, I'll...
Hmm, once I increased to `--batchSize 256M` and it started writing out to the DB I got this error: `Staged Sync err="runtime error: invalid memory address or nil pointer dereference,...
> try add --downloader.verify flag adding `--downloader.verify` did not resolve the problem, still throws an exception eventually. It doesn't look like it's a particular bad block, it always gets a...
Update here, I finally got through the 7/16 Execution phase, it took 3 weeks 😁 with `--batchsize 24M` and `--txpool.disable`. It looks like there is another possible leak in the...
Here's the pprof output for LogIndex phase: CommandLine: ``` --chain mainnet --batchSize 24M --txpool.disable --pprof --blockDownloaderWindow 32768 --prune=htc --prune.r.before=11052984 --authrpc.jwtsecret=xxx --datadir /home/ethereum/.erigon --private.api.addr= --authrpc.addr 0.0.0.0 --authrpc.vhosts=xxx ``` Logs: ``` Oct...