Use chunked encoding when passing the docker image. by magnayn · Pull Request #118 · docker-java/docker-java · GitHub
Skip to content

Use chunked encoding when passing the docker image.#118

Merged
marcuslinke merged 1 commit into
docker-java:masterfrom
magnayn:pr2
Dec 23, 2014
Merged

Use chunked encoding when passing the docker image.#118
marcuslinke merged 1 commit into
docker-java:masterfrom
magnayn:pr2

Conversation

@magnayn

@magnayn magnayn commented Dec 23, 2014

Copy link
Copy Markdown
Contributor

If you don't do this, you very often run out of heap space, as the
webclient will create a buffer for the entire image file (possibly
many gigabytes) before sending it.

Signed-off-by: Nigel Magnay nigel.magnay@gmail.com

If you don't do this, you very often run out of heap space, as the
webclient will create a buffer for the entire image file (possibly
many gigabytes) before sending it.

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
marcuslinke added a commit that referenced this pull request Dec 23, 2014
Use chunked encoding when passing the docker image.
@marcuslinke marcuslinke merged commit 28c742a into docker-java:master Dec 23, 2014
@marcuslinke

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants