Thanks for your report.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.
<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 5.7.1
Error message:
Out of memory
Stack trace:
[0079260E] System::__linkproc__ NewUnicodeString
[0079260E] System::__linkproc__ NewUnicodeString
[0071F537] System::Classes::TComponent::UpdateAction
[005BC508] Vcl::Forms::TCustomForm::CMActionUpdate
[005F7CA1] Vcl::Controls::TControl::WndProc
[005FC7E5] Vcl::Controls::TWinControl::WndProc
[005B7588] Vcl::Forms::TCustomForm::WndProc
[00B6B255] Vclcommon::C2516_0
[005F78DC] Vcl::Controls::TControl::Perform
[005C273F] Vcl::Forms::TApplication::DispatchAction
[00720708] System::Classes::_18201
[761862F7] USER32.dll
[76186D35] USER32.dll
[76186DE3] USER32.dll
[76186E41] USER32.dll
[775F0107] ntdll.dll.KiUserCallbackDispatcher
[761896C0] USER32.dll.SendMessageW
[005F2AE8] Vcl::Controls::SendAppMessage
[005BC206] Vcl::Forms::_16777
[005BC284] Vcl::Forms::TCustomForm::UpdateActions