Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Same problem occurring here with multiple servers.

Thanks for your reports.
I have sent you an email with a debug version of WinSCP to both of you.
74gee

I spent a while testing this, I realised there was nothing wrong with the servers as I can connect with PuTTY ok.
I believe it's a problem with WinSCP. Once I downloaded and installed WinSCP 5.17.10 the problem disappeared.

https://sourceforge.net/projects/winscp/files/WinSCP/5.17.10/
goldfingeroo7

Having this same issue.

WinSCP 5.19 (Build 11512)
Windows 10 Pro 21H1
OS Build 19043.1055
! 2021-06-21 11:07:31.481 Authenticating with public key ""
. 2021-06-21 11:07:33.034 Attempt to close connection due to fatal exception:
* 2021-06-21 11:07:33.034 Authentication log (see session log for details):
* 2021-06-21 11:07:33.034 Authorized uses only. All activity may be monitored and reported.
* 2021-06-21 11:07:33.034 Authenticating with public key "".
* 2021-06-21 11:07:33.034 (ESshFatal) Out of memory
. 2021-06-21 11:07:33.034 Closing connection.
. 2021-06-21 11:07:33.034 Selecting events 0 for socket 2488
* 2021-06-21 11:07:33.087 (EFatal) Out of memory
* 2021-06-21 11:07:33.087 Authentication log (see session log for details):
* 2021-06-21 11:07:33.087 Authorized uses only. All activity may be monitored and reported.
* 2021-06-21 11:07:33.087 Authenticating with public key "".
* 2021-06-21 11:07:33.087
* 2021-06-21 11:07:33.087 Authentication failed.
74gee

Same problem occurring here with multiple servers.

This is occurring on 4 servers in multiple geographic locations.
Running WinSCP 5.19 on Windows 10.0.19042.928

Any help very much appreciated,

6th line from the end of the log.
. 2021-06-20 01:34:46.928 Server offered these authentication methods: publickey
. 2021-06-20 01:34:46.928 Offered public key
. 2021-06-20 01:34:47.206 Detected network event
. 2021-06-20 01:34:47.206 Enumerating network events for socket 2960
. 2021-06-20 01:34:47.206 Enumerated 1 network events making 1 cumulative events for socket 2960
. 2021-06-20 01:34:47.206 Handling network read event on socket 2960 with error 0
. 2021-06-20 01:34:47.206 Waiting for the server to continue with the initialization
. 2021-06-20 01:34:47.206 Looking for incoming data
. 2021-06-20 01:34:47.206 Looking for network events
. 2021-06-20 01:34:47.206 Offer of public key accepted
! 2021-06-20 01:34:47.206 Authenticating with public key "xxxxxxx"
. 2021-06-20 01:34:50.084 Attempt to close connection due to fatal exception:
* 2021-06-20 01:34:50.084 Authentication log (see session log for details):
* 2021-06-20 01:34:50.084 Using username "root".
* 2021-06-20 01:34:50.084 Authenticating with public key "xxxxxxx".
* 2021-06-20 01:34:50.084 (ESshFatal) Out of memory
. 2021-06-20 01:34:50.084 Closing connection.
. 2021-06-20 01:34:50.085 Selecting events 0 for socket 2960
* 2021-06-20 01:34:50.132 (EFatal) Out of memory
* 2021-06-20 01:34:50.132 Authentication log (see session log for details):
* 2021-06-20 01:34:50.133 Using username "root".
* 2021-06-20 01:34:50.133 Authenticating with public key "xxxxxxx".
* 2021-06-20 01:34:50.133
* 2021-06-20 01:34:50.133 Authentication failed.
martin

Re: (ESshFatal) Out of memory. All channels closed

Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
Dorent

(ESshFatal) Out of memory. All channels closed

Hello!
We use automatic file transfer to a remote SFTP server using WinSCP 5.17.2 and a bat file.
Transfer occurs at night and large files (from 200 megabytes to 25 gigabytes).

Often we see error Out of memory and session closure:
* 2020-03-15 01: 59: 24.988 (ESshFatal) Out of memory
> 2020-03-15 01: 59: 24.988 Type: SSH_FXP_CLOSE, Size: 25, Number: 194979844
<2020-03-15 01: 59: 25.081 Type: SSH_FXP_STATUS, Size: 24, Number: 194979844
<2020-03-15 01: 59: 25.081 Status code: 0
. 2020-03-15 01: 59: 25.097 Closing connection.
. 2020-03-15 01: 59: 25.097 Sending special code: 1
. 2020-03-15 01: 59: 25.191 Session sent command exit status 0
. 2020-03-15 01: 59: 25.191 Main session channel closed
. 2020-03-15 01: 59: 25.191 All channels closed


The full log and bat file were attached in private mode.