This repository has been archived by the owner on Oct 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stream
docker export
directly to consumer
Rather than queueing up into a `bytes.Buffer`. In my test case (building kube master image) this reduces Maximum RSS (as measured by time(1)) compared with the previous patch from 2.8G to 110M. The tar output case goes from 2.1G to 110M also. Overall allocations are ~715M in both cases. Signed-off-by: Ian Campbell <ijc@docker.com>
- Loading branch information
Ian Campbell
committed
Dec 6, 2017
1 parent
9f44acf
commit 3045a80
Showing
2 changed files
with
7 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters