Skip to content

Reduce JGit memory use #82

Open
Open

Description

@jimbethancourt

The memory needed by JGit may be able to be reduced by discarding the body of the commit.

RevWalk walk = new RevWalk(repository);
walk.setRetainBody(false);

See https://wiki.eclipse.org/JGit/User_Guide#Reducing_memory_usage_with_RevWalk

Activity

  1. patomos commented on May 30, 2025

    @patomos
    Contributor

    I can also work on this issue

    cc: @jimbethancourt

  2. added a commit that references this issue on Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions