-
-
Notifications
You must be signed in to change notification settings - Fork 849
process stucks/hangs and the memory usage increases up to 4.6Gib #651
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
Comments
The include_body_issue PR was rebased to master before merged in the original repo. Since beginning of the Fork the master branch have been commited and also a bug introduce which i reported in this issue: github-changelog-generator/github-changelog-generator#651 Until this is not being fixed, we should stay in the fork. [ci skip]
Any reactions on that? |
This code is incorrectly spawning one thread per issue rather than one thread per slice of issues. Closes github-changelog-generator#651
That's not great. I am able to replicate this with The repo has 59 closed issues, 199 closed PRs, and 4617 commits. I
I removed the threading around Oh yeah, apparently github-changelog-generator/lib/github_changelog_generator/generator/generator_fetcher.rb Lines 42 to 46 in 7fe9adb
|
The octo_fetcher caches the commits, so removing the threading around methods requesting commits from the cache reduces CPU time and memory usage. Closes github-changelog-generator#651
Thx for the root cause analysis! |
@ArtieReus If the fix in #653 fixes the issue for you I'd love to know! |
@hunner let me try the fix against my repo tomorrow and I will post the results. Thx |
@hunner I test the fix #653 and it works good against the elektra repo. It takes a bit longer than before (before is meaning state end of january), but it works through:
System usage is around 800Mib which is a bit but ok: Thx |
Hi again,
i was very happy to know that my pull request #616 got merged a few days ago so I could get rid of my fork. Sadly I figured out that using the last state of the repo the process stucks/hangs and the memory usage increased to 4.6Gib.
So I decided to use the git-bisect to figure out when was the bug introduced. As starting point i put following commit f977cd1 which was added some days before I opened my fork and went the whole way through testing every step.
At each step i build the gem and tested agains my project locally and not from the docker.
As a result i got following:
I didn't had time to look into the commit. I will again open a fork rebasing to the commit before the bug and cherry pick the commits from my pull request... until we find a solution.
Best Arturo
The text was updated successfully, but these errors were encountered: