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

Pastes are buffered, requiring much more memory. #99

Open
hackerb9 opened this issue Oct 31, 2020 · 0 comments
Open

Pastes are buffered, requiring much more memory. #99

hackerb9 opened this issue Oct 31, 2020 · 0 comments

Comments

@hackerb9
Copy link
Collaborator

Perhaps there should be an option to either have the output flushed after each INCR chunk or even completely unbuffered.

While not a frequent occurrence, there is no reason to limit X selection transfers to the size of RAM on the machine. And, it is certainly bad behaviour to potentially consume all of RAM before writing a single byte.

In the extreme, a user should be able to do:
machine1$ xclip < /dev/sda
machine2$ xclip > harddrive.bkup

and have it work no matter how large the harddrive is compared to the size of RAM.

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

No branches or pull requests

1 participant