RefactorFirst icon indicating copy to clipboard operation
RefactorFirst copied to clipboard

Reduce JGit memory use

Open jimbethancourt opened this issue 2 years ago • 1 comments
trafficstars

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

jimbethancourt avatar Oct 17 '23 18:10 jimbethancourt

I can also work on this issue

cc: @jimbethancourt

patomos avatar May 30 '25 13:05 patomos