Skip to content

Conversation

@craigez
Copy link
Contributor

Our debugging of GitPython during usage a while ago showed we were leaking some file handles. We think this resolves some of the issues.

@Byron
Copy link
Member

Thanks a lot for this contribution - plenty of issues showed up in the past because of this !

Byron added a commit that referenced this pull request Jul 25, 2014
@ByronByron merged commit 22a2103 into gitpython-developers:masterJul 25, 2014
@craigez
Copy link
ContributorAuthor

There are sill more somewhere but we haven't found them yet.

@Byron
Copy link
Member

Gitdb is the other location which deals with files, sometimes indirectly through the use of smmap. I would suspect smmap, as each mmap opened on a file will effectively duplicate the file-handle. If the original is not closed, there would be a leak. It's just a guess of mine, which would need to be verified.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@craigez@Byron