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 evidence certainly seems to support the hypothesis. 😅 Thanks for looking into this. If you have time, would you mind opening a PR with your changes?
I have little more substantial than what's shown, and that requires a change more in applications than in RJGIt.
Thought probably needs to be given as to whether this requires or suggests a change in the API, or whether it can be better served by the use of finalizers.
Investigating a heap dump from a suspiciously bloated backend service found a substantial number of integer arrays owned by live jgit objects.
I suspect this is a result of RJGit failing to
close()
AutoCloseable
JGit objects - to test this hypothesis I've added:And stuffed a call to this in an
ensure
block. I added a similar change to my variant of RJGit'sCommit#stats
call toclose
theDiffFormatter
it uses.After 12 hours the process has grown by about 100MB (post full-GC), which is considerably less than might have been expected prior.
The text was updated successfully, but these errors were encountered: