Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Garbage collection creates many unpacked objects.

From: Martin Fick <hidden>
Date: 2016-06-15 22:52:13

If I clone linus' kernel, delete all the tags, and then run 
git gc, it ends up expanding into about 5K of unpacked 
objects.  The .git size goes from 473M to 511M.  This seems 
a bit strange no?  Shouldn't gcing yield a smaller repo an 
fewer unpacked refs?

If I do this on our internal kernel repo (which has 2Ktags), 
it gets much more pathological, it expands to about 1M 
objects and grows to about 7G!!!

This seems to happen with all versions which I tested, 
1.6.0, 1.7.6 and 1.7.7

Any thoughts?

-Martin

-- 
Employee of Qualcomm Innovation Center, Inc. which is a 
member of Code Aurora Forum
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help