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

Large SFTP transfers disconnecting #12284

Closed
cyberduck opened this issue Apr 16, 2006 · 4 comments
Closed

Large SFTP transfers disconnecting #12284

cyberduck opened this issue Apr 16, 2006 · 4 comments
Assignees
Labels
bug sftp SFTP Protocol Implementation worksforme
Milestone

Comments

@cyberduck
Copy link
Collaborator

d7f2972 created the issue

When transfering large files over SFTP the connection will repeatedly disconnect. I have tried this with both a Linux and Mac OS X server and have seen the same results. The exact error given after the disconnect is "IO Error: Timeout waiting for server message".

@cyberduck
Copy link
Collaborator Author

61f0130 commented

I've been having this issue with files over 2 gigs. It gets to the 2 gig point and then I have to attempt to resume the transfer

@cyberduck
Copy link
Collaborator Author

ed7d159 commented

Cyberduck doesn't free memory for packets already sent; it in effect consumes all memory for large files, and then fails the transfer when the system runs out of memory.

The correct solution would be to use a fixed buffer for copying files. Without looking at the source, it feels like Cyberduck reserves new memory for each packet or chunk of file, instead of reusing the same memory.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Garbage collection is not working effectivly in some cases it seems.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Should be resolved. We do not depend on J2SSH anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug sftp SFTP Protocol Implementation worksforme
Projects
None yet
Development

No branches or pull requests

2 participants