git gc is never called

Issue #801 resolved
Tomasz Kontusz created an issue

Today I was unable to clone a 180MB repository through scm-manager, as it was using all the available RAM (>1.5GB) at the git-upload-pack stage. This is with scm-manager running in a tomcat on windows.

Stopping the service and running git gc on said repository reduced it to ~20MB and let me clone it in a few seconds.

I think scm-manager should run git gc (maybe at configurable intervals, as the repo is not available while getting garbage collected)

Comments (5)

  1. Log in to comment