This commit is contained in:
Joey Hess 2016-12-08 17:50:59 -04:00
parent 5654085e7a
commit 3b9f6c1b2b
No known key found for this signature in database
GPG key ID: C910D9222512E3C7

View file

@ -23,6 +23,13 @@ COST CENTRE MODULE
hGetMetered Utility.Metered 3430 0 49.1 65.6 49.3 65.7 hGetMetered Utility.Metered 3430 0 49.1 65.6 49.3 65.7
</pre> </pre>
Switching to L.hGet, it still leaks, so seems hGetMetered is not at fault
and the bytestring is being buffered excessively somehow before it
reaches the file.
Aha! While a send is in progress like this, .git/annex/tmp is empty!
The whole file is being buffered in memory and written at the end.
* When a transfer can't be done because another transfer of the same * When a transfer can't be done because another transfer of the same
object is already in progress, the message about this is output by the object is already in progress, the message about this is output by the
remotedaemon --debug, but not forwarded to the peer, which shows remotedaemon --debug, but not forwarded to the peer, which shows