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.
Steps tp reproduce:
Login to s3 and open folder that contains 4200+ subfolders.
WinSCP 5.17.6
Error message:
Error reading AnimationImages.PngImages: Error reading TPngImageCollectionItem.PngImage.Data: Out of memory
Stack trace:
(004FABD5)
(004FABD5)
(005003AC)
(0021E27A)
(0021E048)
(00395A3F)
(00394B3D)
(00395EF3)
(00395A26)
(00395279)
(0039525B)
(003A2ED5)
(003952ED)
(0039522C)
(003A2ED5)
(003900D2)
(00385B17)
(0038746B)
(003874F9)
(003A44DC)
(00E4CB2A)
(0007ADB1)
(00085317)
(00081BE3)
(00E05B3A)
(00E07E99)
(000EEA6F)
(000EF2E0)
(000EF45A)
(000F0FA8)
(000BD6F4)
(00021CF0)
(000AD6ED)
(00D8C744)
(0023DDAE)
(0010280A)
(00002658)
(00F85E61)
(000665F2)ntdll.dll
(000665BF)ntdll.dll
(0039584B)
(00395A85)
(00394B3D)
(00395EF3)
(00395A26)
(00395279)
(0039525B)
(003A2ED5)
(003952ED)
(0039522C)
(003A2ED5)
(003900D2)
(00385B17)
(0038746B)
(003874F9)
(003A44DC)
(00E4CB2A)
(0007ADB1)
(00085317)
(00081BE3)
(00E05B3A)
(00E07E99)
(000EEA6F)
(000EF2E0)
(000EF45A)
(000F0FA8)
(000BD6F4)
(00021CF0)
(000AD6ED)
(00D8C744)
(0023DDAE)
(0010280A)
(00002658)
(00F85E61)
(000665F2)ntdll.dll
(000665BF)ntdll.dll
(0039584B)
(00395A85)
(00395279)
(0039525B)
(003A2ED5)
(003952ED)
(0039522C)
(003A2ED5)
(003900D2)
(00385B17)
(0038746B)
(003874F9)
(003A44DC)
(00E4CB2A)
(0007ADB1)
(00085317)
(00081BE3)
(00E05B3A)
(00E07E99)
(000EEA6F)
(000EF2E0)
(000EF45A)
(000F0FA8)
(000BD6F4)
(00021CF0)
(000AD6ED)
(00D8C744)
(0023DDAE)
(0010280A)
(00002658)
(00F85E61)
(000665F2)ntdll.dll
(000665BF)ntdll.dll
Status: unknown_rel_addr
I know how to reproduce the problem or the problem happens frequently enough. I wish to be contacted by the WinSCP team to help resolving the problem.