-
Notifications
You must be signed in to change notification settings - Fork 261
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
memory leak during block syncing #850
Labels
💫 memory
Issue related to memory consumption, for example leak
Milestone
Comments
stefantalpalaru
added
the
💫 memory
Issue related to memory consumption, for example leak
label
Apr 1, 2020
Fixed by #874 |
Potentially addressed by vacp2p/nim-libp2p#187 |
yes, notices that, but wasn't 100% sure, |
Latest master for libp2p has some additional fixes that might address some of this further, but I've definitely seen string leaks even with those, so more digging is required. |
resolved by status-im/nim-chronos#130 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To replicate, run a local sim in one terminal tab:
In another tab, start the Prometheus daemon (after the sim starts running, so the conf file has been generated):
Wait a couple of minutes, then connect an external node that will start syncing blocks (from a third tab):
You can do a quick-and-dirty metric visualisation from Prometheus' web interface. Relevant graphs (you also want the "metrics" branch of "vendor/nim-chronos"):
GC's heap:
Pending futures:
The text was updated successfully, but these errors were encountered: