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

Exception of type 'System.OutOfMemoryException' was thrown #60

Closed
kadje opened this issue Aug 9, 2016 · 1 comment
Closed

Exception of type 'System.OutOfMemoryException' was thrown #60

kadje opened this issue Aug 9, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@kadje
Copy link

kadje commented Aug 9, 2016

Hi All,

I've upgraded dll from 2014.4.6 to 2016.0.0 and I get this message when application tries to change directory on remote server.

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at Renci.SshNet.SubsystemSession.WaitOnHandle(WaitHandle waitHandle, TimeSpan operationTimeout)
at Renci.SshNet.Sftp.SftpSession.RequestReadDir(Byte[] handle)
at Renci.SshNet.SftpClient.InternalListDirectory(String path, Action1 listCallback) at Renci.SshNet.SftpClient.ListDirectory(String path, Action1 listCallback)
at DBAService.Logic.FileTransfer.DbaSftpClient.GetCdrAndTrfFiles()
at DBAService.Logic.FileTransfer.FileTransferSession.FileTransferTask() at Renci.SshNet.SubsystemSession.WaitOnHandle(WaitHandle waitHandle, TimeSpan operationTimeout)
at Renci.SshNet.Sftp.SftpSession.RequestReadDir(Byte[] handle)
at Renci.SshNet.SftpClient.InternalListDirectory(String path, Action1 listCallback) at Renci.SshNet.SftpClient.ListDirectory(String path, Action1 listCallback)
at DBAService.Logic.FileTransfer.DbaSftpClient.GetCdrAndTrfFiles()
at DBAService.Logic.FileTransfer.FileTransferSession.FileTransferTask()

Alex.

@drieseng
Copy link
Member

Fixed as part of the hardening introduced for issues #58 and #41.
Confirmed by @kadje.

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

No branches or pull requests

2 participants