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

Fixed memory leak when using live progress #133

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

RedStylzZ
Copy link
Contributor

When using the live progress with big subnets, at some point the memory will rise very high.
Sometimes up to Gigabytes.
By moving the declaration of the progress variable into the loop this is fixed and the memory will stay in the low Megabytes.

@Ullaakut
Copy link
Owner

Ullaakut commented Sep 4, 2024

Ohhh nice catch! This fixes #117 I'm pretty sure :)

@Ullaakut Ullaakut assigned Ullaakut and unassigned Ullaakut Sep 4, 2024
@Ullaakut Ullaakut self-requested a review September 4, 2024 14:00
@Ullaakut Ullaakut merged commit 282fbd9 into Ullaakut:master Sep 4, 2024
1 check failed
@RedStylzZ
Copy link
Contributor Author

There seems to be a problem with the tests right?
But I don't think it's related to my changes

@RedStylzZ
Copy link
Contributor Author

Would it be possible to create a new tag for the new changes, so they can be imported as a library?

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

Successfully merging this pull request may close these issues.

2 participants