Skip to content

Commit f4694a8

Browse files
rdebathgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3c2dc76 commit f4694a8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Documentation/config.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1827,10 +1827,11 @@ pack.depth::
18271827
maximum depth is given on the command line. Defaults to 50.
18281828

18291829
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.
18341835

18351836
pack.compression::
18361837
An integer -1..9, indicating the compression level for objects

0 commit comments

Comments
 (0)