Remove memory leak caused by accountCache, count batch size in bytes (#565)
* Lower cache sizes * Add memory profiling over http * No code cache * Calculate db batch size in bytes * Fixes * Fixes * Increase batch * Fix linter * Restore account caching, with copying * Reintroduce code cache * Add fixed overhead per key * Print batch size * Fix batch size * Reduce batch size * 50 Mb * Fix linter
Showing
- cmd/geth/main.go 7 additions, 0 deletionscmd/geth/main.go
- core/blockchain.go 1 addition, 1 deletioncore/blockchain.go
- core/state/db_state_reader.go 5 additions, 2 deletionscore/state/db_state_reader.go
- core/state/db_state_writer.go 2 additions, 2 deletionscore/state/db_state_writer.go
- eth/downloader/stagedsync_stage_execute.go 7 additions, 5 deletionseth/downloader/stagedsync_stage_execute.go
- ethdb/bolt_db.go 1 addition, 1 deletionethdb/bolt_db.go
- ethdb/mutation.go 1 addition, 1 deletionethdb/mutation.go
- ethdb/mutation_puts.go 18 additions, 17 deletionsethdb/mutation_puts.go
Loading
Please register or sign in to comment