Skip to content
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

Allow file copy buffer size to be configured #111

Closed
vpartington opened this issue Apr 9, 2014 · 0 comments
Closed

Allow file copy buffer size to be configured #111

vpartington opened this issue Apr 9, 2014 · 0 comments

Comments

@vpartington
Copy link
Contributor

Files are copied with a fixed buffer of 4KB (because ByteStreams.copy is used) and that causes some reads and writes, e.g. those to Windows shares, to be very slow.

Allow this the buffer size to be configured to allow the user the tweak the performance.

N.B.: ByteStreams.copy is deprecated and will be removed in Guava 18.0.

@vpartington vpartington changed the title Allow buffer size used when copying to be configured Allow file copy buffer size to be configured Apr 14, 2014
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

No branches or pull requests

1 participant