I have got a problem with my bare repository with the size of 4 GB.
I experience some strange memory usage at cloning or fetching. Git consumes about 30 GB RAM for these commands, but this is not the real problem. The real problem takes place at the client, while cloning and before the checkout. The RAM usage of GIT on the client raises also high, but too much for my machine (8 GB RAM).
What possibilities do I have to reduce this memory usage? And how do I detect what is causing this huge memory usage?
I already tested to reduce the history to the last 3 years and I also tried the BFG Repo-Cleaner, but unfortunately nothing really helps at this problem or I made a mistake during these steps.