3 subject="""comment 2"""
4 date="2020-05-21T16:54:48Z"
6 I don't think there's any reason why git should need to allocate memory for
7 the whole file. All it's doing is reading the file and sending it over a
8 pipe, and git-annex actually hangs up the pipe before reading anything.
9 So git could read a few bytes, try to send them, and give up.
11 The last time I looked at it, in [[!commit a96972015dd76271b46432151e15d5d38d7151ff]]
12 having git-annex close the pipe immediately did avoid git overallocating
13 memory. I don't know what else git-annex could do to avoid any bad behavior
16 If your git is older than 2.5, it would certainly explain it, since the
17 above workaround needed git 2.5.