Skip to content

Conversation

@njfsilva
Copy link
Contributor

@njfsilva njfsilva commented Feb 4, 2014

Removed buffers in partial upload of files because they are unnecessary and can sometimes cause outOfMemory exceptions.

Removed unnecessary write to the buffer since it sometimes causes out of memory exceptions and you can write the inputStream directly to the file.
Sometimes it causes outOfMemoryException and there's no need to write to a separate buffer since you can copy the inputStream directly to the file.
@maxpavlov maxpavlov merged commit 3acf4bc into maxpavlov:master Oct 4, 2020
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