Skip to content

Commit

Permalink
config.txt: pack.windowmemory limit applies per-thread
Browse files Browse the repository at this point in the history
It took me a long time to notice the rider on the pack.threads
configuration option that it would multiple the memory consumption
by the number of CPUs in the machine.  Clarify that the limit
applies per-thread.

Signed-off-by: Robert de Bath <rdebath@tvisiontech.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Robert de Bath authored and Junio C Hamano committed Oct 28, 2014
1 parent 3c2dc76 commit f4694a8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1827,10 +1827,11 @@ pack.depth::
maximum depth is given on the command line. Defaults to 50.

pack.windowMemory::
The window memory size limit used by linkgit: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.
The maximum size of memory that is consumed by each thread
in linkgit:git-pack-objects[1] for pack window memory when
no limit is given on the command line. The value can be
suffixed with "k", "m", or "g". When left unconfigured (or
set explicitly to 0), there will be no limit.

pack.compression::
An integer -1..9, indicating the compression level for objects
Expand Down

0 comments on commit f4694a8

Please sign in to comment.