We are using WinSCP PowerShell Wrapper Module with automated script that download File from SFTP.
WinSCP Version 5.9.2 (Build 6958) (OS 6.3.9600 - Windows Server 2012 R2 Standard) Server have 16 GB with 2.4 GB free on moment of run.
We received errors in session log file please advise:
. 2017-02-21 16:21:13.956 Opening remote file.
> 2017-02-21 16:21:13.956 Type: SSH_FXP_OPEN, Size: 51, Number: 11492099
< 2017-02-21 16:21:14.329 Type: SSH_FXP_HANDLE, Size: 13, Number: 11492099
> 2017-02-21 16:21:14.337 Type: SSH_FXP_WRITE, Size: 16380, Number: 11492614
. 2017-02-21 16:45:05.087 Initiating key re-exchange (too much data sent)
. 2017-02-21 16:45:06.428 Doing Diffie-Hellman group exchange
. 2017-02-21 16:45:06.508 65407 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2017-02-21 16:45:06.508 Type: SSH_FXP_CLOSE, Size: 13, Number: 22981892
> 2017-02-21 16:45:06.508 Type: SSH_FXP_SETSTAT, Size: 51, Number: 11492361
. 2017-02-21 16:45:06.692 Doing Diffie-Hellman key exchange with hash SHA-1
. 2017-02-21 16:45:07.397 Initialised AES-256 SDCTR client->server encryption
. 2017-02-21 16:45:07.397 Initialised HMAC-SHA-256 client->server MAC algorithm
. 2017-02-21 16:45:12.220 Error while disposing the SFTP queue.
* 2017-02-21 16:45:12.220 (ESshFatal) Out of memory!
. 2017-02-21 16:45:12.220 expected key exchange reply packet from server
. 2017-02-21 16:45:12.220 Fatal error while disposing the SFTP queue.
. 2017-02-21 16:45:12.435 Connection was lost, asking what to do.
. 2017-02-21 16:45:12.459 Asking user:
. 2017-02-21 16:45:12.459 expected key exchange reply packet from server ()
< 2017-02-21 16:45:12.470 Script: expected key exchange reply packet from server
. 2017-02-21 16:45:17.695 Connection was lost, asking what to do.
. 2017-02-21 16:45:17.695 Asking user:
. 2017-02-21 16:45:17.695 Invalid access to memory.
. 2017-02-21 16:45:17.695
. 2017-02-21 16:45:17.695 Please help us improving WinSCP by reporting the error on WinSCP support forum. ("Stack trace:","(003E0A90) ","(00863846) ","(008658AE) ","(00862668) ","(0003CF4E) ntdll.dll","(0003CDB6) ntdll.dll.KiUserExceptionDispatcher","(0085127B) ","(00614DA7) ","(00618A8B) ","(0062930B) ","(006FB99C) ","(006F68E6) ","(007348FB) ","(0076F49F) ","(00771079) ","(0076B485) ","(007593C3) ","(0075851A) ","(00784E11) ","(006EC875) ","(006E74F3) ","(006E8866) ","(00053D6F) ","(0005A212) ","(000D5DCA) ","(000024A8) ","(0086187D) ","(000488EC) ntdll.dll","(000488BF) ntdll.dll",,"(00863EB1) ","(0086548B) ","(0076DF15) ","(0076F49F) ","(00771079) ","(0076B485) ","(007593C3) ","(0075851A) ","(00784E11) ","(006EC875) ","(006E74F3) ","(006E8866) ","(00053D6F) ","(0005A212) ","(000D5DCA) ","(000024A8) ","(0086187D) ","(000488EC) ntdll.dll","(000488BF) ntdll.dll")
< 2017-02-21 16:45:17.695 Script: Invalid access to memory.
< 2017-02-21 16:45:17.695 Please help us improving WinSCP by reporting the error on WinSCP support forum.
< 2017-02-21 16:45:17.695 Script: Stack trace:
< 2017-02-21 16:45:17.695 (003E0A90)
< 2017-02-21 16:45:17.695 (00863846)
< 2017-02-21 16:45:17.695 (008658AE)
< 2017-02-21 16:45:17.695 (00862668)
< 2017-02-21 16:45:17.695 (0003CF4E) ntdll.dll
< 2017-02-21 16:45:17.695 (0003CDB6) ntdll.dll.KiUserExceptionDispatcher
< 2017-02-21 16:45:17.695 (0085127B)
< 2017-02-21 16:45:17.695 (00614DA7)
< 2017-02-21 16:45:17.695 (00618A8B)
< 2017-02-21 16:45:17.695 (0062930B)
< 2017-02-21 16:45:17.695 (006FB99C)
< 2017-02-21 16:45:17.695 (006F68E6)
< 2017-02-21 16:45:17.695 (007348FB)
< 2017-02-21 16:45:17.695 (0076F49F)
< 2017-02-21 16:45:17.695 (00771079)
< 2017-02-21 16:45:17.695 (0076B485)
< 2017-02-21 16:45:17.695 (007593C3)
< 2017-02-21 16:45:17.695 (0075851A)
< 2017-02-21 16:45:17.695 (00784E11)
< 2017-02-21 16:45:17.695 (006EC875)
< 2017-02-21 16:45:17.695 (006E74F3)
< 2017-02-21 16:45:17.695 (006E8866)
< 2017-02-21 16:45:17.695 (00053D6F)
< 2017-02-21 16:45:17.695 (0005A212)
< 2017-02-21 16:45:17.695 (000D5DCA)
< 2017-02-21 16:45:17.695 (000024A8)
< 2017-02-21 16:45:17.695 (0086187D)
< 2017-02-21 16:45:17.695 (000488EC) ntdll.dll
< 2017-02-21 16:45:17.695 (000488BF) ntdll.dll
< 2017-02-21 16:45:17.695
< 2017-02-21 16:45:17.696 (00863EB1)
< 2017-02-21 16:45:17.696 (0086548B)
< 2017-02-21 16:45:17.696 (0076DF15)
< 2017-02-21 16:45:17.696 (0076F49F)
< 2017-02-21 16:45:17.696 (00771079)
< 2017-02-21 16:45:17.696 (0076B485)
< 2017-02-21 16:45:17.696 (007593C3)
< 2017-02-21 16:45:17.696 (0075851A)
< 2017-02-21 16:45:17.696 (00784E11)
< 2017-02-21 16:45:17.696 (006EC875)
< 2017-02-21 16:45:17.696 (006E74F3)
< 2017-02-21 16:45:17.696 (006E8866)
< 2017-02-21 16:45:17.696 (00053D6F)
< 2017-02-21 16:45:17.696 (0005A212)
< 2017-02-21 16:45:17.696 (000D5DCA)
< 2017-02-21 16:45:17.696 (000024A8)
< 2017-02-21 16:45:17.696 (0086187D)
< 2017-02-21 16:45:17.696 (000488EC) ntdll.dll
< 2017-02-21 16:45:17.696 (000488BF) ntdll.dll
. 2017-02-21 16:45:22.709 Connection was lost, asking what to do.
. 2017-02-21 16:45:22.709 Asking user:
. 2017-02-21 16:45:22.709 Invalid access to memory.
. 2017-02-21 16:45:22.709
. 2017-02-21 16:45:22.709 Please help us improving WinSCP by reporting the error on WinSCP support forum. ("Stack trace:","(003E0A90) ","(00863846) ","(008658AE) ","(00862668) ","(0003CF4E) ntdll.dll","(0003CDB6) ntdll.dll.KiUserExceptionDispatcher","(0085127B) ","(00614DA7) ","(00618A8B) ","(0062930B) ","(006FB99C) ","(006F68E6) ","(007348FB) ","(0076F49F) ","(00771079) ","(0076B485) ","(007593C3) ","(0075851A) ","(00784E11) ","(006EC875) ","(006E74F3) ","(006E8866) ","(00053D6F) ","(0005A212) ","(000D5DCA) ","(000024A8) ","(0086187D) ","(000488EC) ntdll.dll","(000488BF) ntdll.dll",,"(00863EB1) ","(0086548B) ","(0076DF15) ","(0076F49F) ","(00771079) ","(0076B485) ","(007593C3) ","(0075851A) ","(00784E11) ","(006EC875) ","(006E74F3) ","(006E8866) ","(00053D6F) ","(0005A212) ","(000D5DCA) ","(000024A8) ","(0086187D) ","(000488EC) ntdll.dll","(000488BF) ntdll.dll")
< 2017-02-21 16:45:22.709 Script: Invalid access to memory.
< 2017-02-21 16:45:22.709 Please help us improving WinSCP by reporting the error on WinSCP support forum.
< 2017-02-21 16:45:22.709 Script: Stack trace:
< 2017-02-21 16:45:22.709 (003E0A90)
< 2017-02-21 16:45:22.709 (00863846)
< 2017-02-21 16:45:22.709 (008658AE)
< 2017-02-21 16:45:22.709 (00862668)
< 2017-02-21 16:45:22.709 (0003CF4E) ntdll.dll
< 2017-02-21 16:45:22.709 (0003CDB6) ntdll.dll.KiUserExceptionDispatcher
< 2017-02-21 16:45:22.709 (0085127B)
< 2017-02-21 16:45:22.709 (00614DA7)
< 2017-02-21 16:45:22.709 (00618A8B)
< 2017-02-21 16:45:22.709 (0062930B)
< 2017-02-21 16:45:22.709 (006FB99C)
< 2017-02-21 16:45:22.709 (006F68E6)
< 2017-02-21 16:45:22.709 (007348FB)
< 2017-02-21 16:45:22.709 (0076F49F)
< 2017-02-21 16:45:22.709 (00771079)
< 2017-02-21 16:45:22.709 (0076B485)
< 2017-02-21 16:45:22.709 (007593C3)
< 2017-02-21 16:45:22.709 (0075851A)
< 2017-02-21 16:45:22.709 (00784E11)
< 2017-02-21 16:45:22.709 (006EC875)
< 2017-02-21 16:45:22.709 (006E74F3)
< 2017-02-21 16:45:22.709 (006E8866)
< 2017-02-21 16:45:22.709 (00053D6F)
< 2017-02-21 16:45:22.709 (0005A212)
< 2017-02-21 16:45:22.709 (000D5DCA)
< 2017-02-21 16:45:22.710 (000024A8)
< 2017-02-21 16:45:22.710 (0086187D)
< 2017-02-21 16:45:22.710 (000488EC) ntdll.dll
< 2017-02-21 16:45:22.710 (000488BF) ntdll.dll
< 2017-02-21 16:45:22.710
< 2017-02-21 16:45:22.710 (00863EB1)
< 2017-02-21 16:45:22.710 (0086548B)
< 2017-02-21 16:45:22.710 (0076DF15)
< 2017-02-21 16:45:22.710 (0076F49F)
< 2017-02-21 16:45:22.710 (00771079)
< 2017-02-21 16:45:22.710 (0076B485)
< 2017-02-21 16:45:22.710 (007593C3)
< 2017-02-21 16:45:22.710 (0075851A)
< 2017-02-21 16:45:22.710 (00784E11)
< 2017-02-21 16:45:22.710 (006EC875)
< 2017-02-21 16:45:22.710 (006E74F3)
< 2017-02-21 16:45:22.710 (006E8866)
< 2017-02-21 16:45:22.710 (00053D6F)
< 2017-02-21 16:45:22.710 (0005A212)
< 2017-02-21 16:45:22.710 (000D5DCA)
< 2017-02-21 16:45:22.710 (000024A8)
< 2017-02-21 16:45:22.710 (0086187D)
< 2017-02-21 16:45:22.710 (000488EC) ntdll.dll
< 2017-02-21 16:45:22.710 (000488BF) ntdll.dll
. 2017-02-21 16:45:27.723 Connection was lost, asking what to do.
. 2017-02-21 16:45:27.723 Asking user:
. 2017-02-21 16:45:27.723 Invalid access to memory.
. 2017-02-21 16:45:27.723