>     $ time git repack -d -l -f --depth=250 --window=250 -A --window-memory=1g

>From the manual pages and testing its behavior, when "git repack" is
executed by "git gc", the default --window-memory value is supplied by
the pack.windowMemory configuration value:

       pack.windowMemory
           The window memory size limit used by git-pack-objects(1) when no
           limit is given on the command line. The value can be suffixed with
           "k", "m", or "g". Defaults to 0, meaning no limit.

So if "git gc" can't get enough memory, or uses so much memory it
swaps, you can configure the repository to reduce its memory
consumption.

Dale

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to