Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

lower default pruning history and memory #4528

Merged
merged 1 commit into from Feb 13, 2017
Merged

Conversation

rphmeier
Copy link
Contributor

@rphmeier rphmeier commented Feb 13, 2017

--pruning-history: 1200 -> 64
--pruning-memory: 150 -> 75

@arkpar This addresses memory issues while syncing through the attack blocks.

--pruning-history is a minimum, so in general we will store far more states.
We may want to insert a shrink_to_fit call somewhere for the backing overlay when we detect that the size is much smaller than capacity, currently there's a persistent ~100MB overhead after the attack blocks.

--pruning-history: 1200 -> 64
--pruning-memory: 150 -> 75
@rphmeier rphmeier added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Feb 13, 2017
@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Feb 13, 2017
@gavofyork gavofyork merged commit 073ed1a into master Feb 13, 2017
@gavofyork gavofyork deleted the min-pruning-history branch February 13, 2017 16:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants