Skip to content

Unnecessary buffers Patch #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 4, 2020
Merged

Unnecessary buffers Patch #24

merged 3 commits into from
Oct 4, 2020

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