Skip to content

Reduce JGit memory use #82

Open
Open
@jimbethancourt

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

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