-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
cannot allocate memory after opening truncated diff (possible memory leak) #2669
Comments
The main cause of the issue I described here is fixed #2990, however I found that
Currently I cannot really continue before go-gitea/git#94 is merged, but I will prepare a branch on my repo with all the things fixed so people can test/review my changes. You can find my current fixes here. |
go-gitea/git#94 is merged |
@mrexodia should this be closed and make a new issue for the only one wiki.go issue? |
No problem for me, whatever you think is better for the project :) |
Description
gitea/modules/context/repo.go
Line 318 in 92123fe
Log
Screenshots
Here is a video showing exactly how I reproduced the problem on a just-started gitea instance. I tried this about 4 times and it happens every time. It might be possible to reproduce on a system with more memory by cloning this repo multiple times and opening the offending diff a bunch of times as well, but I didn't test this yet.
https://youtu.be/RynWvzilbaQ
The text was updated successfully, but these errors were encountered: