Skip to content

gitindex: disable git cat-file optimization by default#1038

Merged
keegancsmith merged 1 commit intomainfrom
k/disable
Apr 2, 2026
Merged

gitindex: disable git cat-file optimization by default#1038
keegancsmith merged 1 commit intomainfrom
k/disable

Conversation

@keegancsmith
Copy link
Copy Markdown
Member

In our production sourcegraph.com cluster we are regularly seeing git grow to over 9GB in size leading to OOMs. Once we disabled this flag the OOMs went away. For now lets default this feature to off until it is resolved.

In our production sourcegraph.com cluster we are regularly seeing git
grow to over 9GB in size leading to OOMs. Once we disabled this flag the
OOMs went away. For now lets default this feature to off until it is
resolved.
@keegancsmith
Copy link
Copy Markdown
Member Author

@clemlesne I am disabling this feature for now. However, we will look into why git is OOMing and will dig in more to see if I can share a reproduction.

For now we also have this potential change which hopefully fixes the problem. But yeah, I haven't actually tested it yet. #1039

@keegancsmith keegancsmith merged commit 2fb345a into main Apr 2, 2026
8 checks passed
@keegancsmith keegancsmith deleted the k/disable branch April 2, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants