config.txt: pack.windowmemory limit applies per-thread
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>
Robert de Bath committed
Oct 24, 2014 at 08:43 UTC
f4694a8c088106bb5a137407ffa9c8a0fe871566
1 file changed
+5
-4
Documentation/config.txt
+5
-4
@@ -1827,10 +1827,11 @@ pack.depth::
1827
maximum depth is given on the command line. Defaults to 50.
1828
1829
pack.windowMemory::
1830
- The window memory size limit used by linkgit:git-pack-objects[1]
1831
- when no limit is given on the command line. The value can be
1832
- suffixed with "k", "m", or "g". Defaults to 0, meaning no
1833
- limit.
1830
+ The maximum size of memory that is consumed by each thread
1831
+ in linkgit:git-pack-objects[1] for pack window memory when
1832
+ no limit is given on the command line. The value can be
1833
+ suffixed with "k", "m", or "g". When left unconfigured (or
1834
+ set explicitly to 0), there will be no limit.
1835
1836
pack.compression::
1837
An integer -1..9, indicating the compression level for objects