Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] JGit Garbage Collection very slow on large repository

Thank you Matthias,

This is a private repository, actually, I will try to reproduce this issue on a public repository and let you. At the same time, will try to grab the GC profile here. Regarding the heap size, it's 4GB on our host.


On Thu, Nov 3, 2022 at 1:35 AM Sohn, Matthias <matthias.sohn@xxxxxxx> wrote:

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 ?





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

Some people who received this message don't often get email from zhoutt96@xxxxxxxxx. Learn why this is important

Hi JGit team,


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?




Back to the top