Skip to content

Handle Too Many Open Files #3

Closed
@Byron

Description

@Byron

Currently the gitdb will memory map pack indices, and loose objects for reading. If there are too many mapped files, which could happen on large databases, one has to gracefully unload existing memory maps and reload them later.
This could be as easy as deleting the data caches, which are memory maps most of the time.

This task could be done by the PackedDB, and additionally by the git-db which handles multiple object databases.

Activity

Byron

Byron commented on Jan 7, 2015

@Byron
MemberAuthor

I think this now works, see #60 .
The memory manager is able to unload existing maps if it hits a resource limit (soft or hard).

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Byron

        Issue actions

          Handle Too Many Open Files · Issue #3 · gitpython-developers/GitPython