Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Observing unbounded memory usage with pruning settings #6338

Closed
4 tasks
zmanian opened this issue Jun 4, 2020 · 2 comments
Closed
4 tasks

Observing unbounded memory usage with pruning settings #6338

zmanian opened this issue Jun 4, 2020 · 2 comments

Comments

@zmanian
Copy link
Member

zmanian commented Jun 4, 2020

Summary of Bug

I'm observing unbounded growth in memory usage with the following pruning settings on game of zones hub 3.

I also have sentry nodes running prune everything and archives nodes. Memory usage appears to be stable on them.

# Pruning sets the pruning strategy: syncable, nothing, everything, custom
# syncable: only those states not needed for state syncing will be deleted (keeps last 100 + every 10000th)
# nothing: all historic states will be saved, nothing will be deleted (i.e. archiving node)
# everything: all saved states will be deleted, storing only the current state
# custom: allows fine-grained control through the pruning-keep-every and pruning-snapshot-every options.
pruning = "custom"

# These are applied if and only if the pruning strategy is custom.
pruning-keep-every = "1"
pruning-snapshot-every = "10000"

Version

github.com/cosmos/cosmos-sdk v0.34.4-0.20200530180557-ba70f4d4dc2e

Steps to Reproduce


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@tac0turtle
Copy link
Member

An issue has been opened in IAVL as well: cosmos/iavl#256

@alexanderbez
Copy link
Contributor

I would close this issue in favor of the one reported in the IAVL repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants