Hi all,
<br>
<br>I have a cloned GCC git repository, on PC with 1.5GB of RAM and 3GB swap.
<br>
<br>When I run &quot;$git gc --aggressive&quot;, I will get after few hours an error:
<br>
<br>$ git gc --aggressive
<br>Counting objects: 1332887, done.
<br>Delta compression using up to 2 threads.
<br>fatal: Out of memory, malloc failed (tried to allocate 4838335 bytes)
<br>error: failed to run repack
<br>$
<br>
<br>
4.5GB of memory is not enough, what is that?
<br>
<br>I wonder what git is internally doing, it seems to me as a pretty 
non-optimal implementation.
It is the first application I have which has been killed by OOM killer.<br>
<br>The size of .git directory is &gt;900MB.

<br><br>
<br>BR
<br>
<br>Vaclav M.