Is this repository publicly accessible so that we can reproduce this ?
Without having access to the repository, we can’t find out what might be the cause.
Maybe you need more heap ?
If the repository is private maybe, you can profile garbage collection e.g. using JFR/JMC ?
-Matthias
From:
jgit-dev <jgit-dev-bounces@xxxxxxxxxxx> on behalf of TINGTING ZHOU <zhoutt96@xxxxxxxxx>
Date: Thursday, 3. November 2022 at 01:14
To: jgit-dev@xxxxxxxxxxx <jgit-dev@xxxxxxxxxxx>
Subject: [jgit-dev] JGit Garbage Collection very slow on large repository
I am an engineer from Oracle, and recently we are seeing some performance issues when doing garbage collection using JGit. The size of the repository is around 400MB, and around
30000 branches, and 50000 commits in this repository. When I check the logs, I found it takes around 2hour 30mins to build the bitmap index. I am asking here to get more ideas from the professional team: why it takes so long for doing GC on this repository?
Is that expected?