You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dictionaries stored in the Dispersy statistics (MessageStatistics) are always growing and never pruned. When running Tribler for extended periods of time, this leads to significant memory usage. See for instance https://github.com/Tribler/dispersy/blob/devel/statistics.py#L82. It seems that we're storing full details about all introduction requests sent and received. The same goes for walk_failure_dict.
To fix this, we can either periodically prune the dictionaries or disable the Dispersy statistics. @qstokkink do you have any comments on this? I think it's important enough to fix this for Tribler 7.1 👍
The text was updated successfully, but these errors were encountered:
The dictionaries stored in the Dispersy statistics (
MessageStatistics
) are always growing and never pruned. When running Tribler for extended periods of time, this leads to significant memory usage. See for instance https://github.com/Tribler/dispersy/blob/devel/statistics.py#L82. It seems that we're storing full details about all introduction requests sent and received. The same goes forwalk_failure_dict
.To fix this, we can either periodically prune the dictionaries or disable the Dispersy statistics. @qstokkink do you have any comments on this? I think it's important enough to fix this for Tribler 7.1 👍
The text was updated successfully, but these errors were encountered: