Post a reply

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: Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

This issue has been added to the tracker:
https://winscp.net/tracker/1770
natalia.hanson@...

Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

Copying a 2.7G file over, WinSCP gives me an Out of Memory error. There's enough memory on the disk, so I know it's the client.

WinSCP 5.15.2

Error message:
Copying files to remote side failed.

Out of memory

Stack trace:
(0038FE87) System::Classes::TMemoryStream::Realloc
(0038FE87) System::Classes::TMemoryStream::Realloc
(0038B323) System::Classes::TStream::SetSize64
(0070B8A7) TFileBuffer::SetSize
(00777519) TSCPFileSystem::SCPSource
(0077675F) TSCPFileSystem::CopyToRemote
(0082F7DA) TTerminal::CopyToRemote
(0000F9B6) TCustomScpExplorerForm::ExecuteCopyMoveFileOperation
(00010568) TCustomScpExplorerForm::ExecuteFileOperation
(00023999) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(00023B31) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(006CF33E) TUnixDirView::PerformItemDragDropOperation
(00445C80) Customdirview::TCustomDirView::DDProcessDropped
(0047AA7F) Dragdrop::TDragDrop::WndMethod
(003A3BA8) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF) USER32.dll
(00016885) USER32.dll.DispatchMessageW

(00927705) C5157_3
(00928CDF) _ReThrowException
(00777E8D) TSCPFileSystem::SCPSource
(0077675F) TSCPFileSystem::CopyToRemote
(0082F7DA) TTerminal::CopyToRemote
(0000F9B6) TCustomScpExplorerForm::ExecuteCopyMoveFileOperation
(00010568) TCustomScpExplorerForm::ExecuteFileOperation
(00023999) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(00023B31) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(006CF33E) TUnixDirView::PerformItemDragDropOperation
(00445C80) Customdirview::TCustomDirView::DDProcessDropped
(0047AA7F) Dragdrop::TDragDr

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.
martin

Re: Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

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.
shubham26@...

Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

<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.13.9

Error message:
Copying files to remote side failed.

Out of memory

Stack trace:
(0036D4CF) System::Classes::TMemoryStream::Realloc
(0036D4CF) System::Classes::TMemoryStream::Realloc
(0036896B) System::Classes::TStream::SetSize64
(006B40BB) TFileBuffer::SetSize
(0071D86D) TSCPFileSystem::SCPSource
(0071CAB9) TSCPFileSystem::CopyToRemote
(007D17AB) TTerminal::CopyToRemote
(006F3418) TUploadQueueItem::DoTransferExecute
(006F20F6) TQueueItem::Execute
(006F112A) TTerminalItem::ProcessEvent
(006EF4C0) TSignalThread::Execute
(000A3D77) Userinterface::C20_0
(0001243B) kernel32.dll.BaseThreadInitThunk
(00038800) ntdll.dll
(000387D0) ntdll.dll

(008C00F1) C5105_3
(008C16CB) _ReThrowException
(0071E1E1) TSCPFileSystem::SCPSource
(0071CAB9) TSCPFileSystem::CopyToRemote
(007D17AB) TTerminal::CopyToRemote
(006F3418) TUploadQueueItem::DoTransferExecute
(006F20F6) TQueueItem::Execute
(006F112A) TTerminalItem::ProcessEvent
(006EF4C0) TSignalThread::Execute
(000A3D77) Userinterface::C20_0
(0001243B) kernel32.dll.BaseThreadInitThunk
(00038800) ntdll.dll
(000387D0) ntdll.dll

(008C00F1) C5105_3
(008C16CB) _ReThrowException
(0071CD79) TSCPFileSystem::CopyToRemote
(007D17AB) TTerminal::CopyToRemote
(006F3418) TUploadQueueItem::DoTransferExecute
(006F20F6) TQueueItem::Execute
(006F112A) TTerminalItem::ProcessEvent
(006EF4C0) TSignalThread::Execute
(000A3D77) Userinterface::C20_0
(0001243B) kernel32.dll.BaseThreadInitThu

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.
martin

Re: Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

Thanks for your report.
willem@...

Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

The previous file (GipAccept.sql) was successfully transferred by sending it as a binary. It could be the windows-to-unix conversion that takes too much memory. Hop this helps

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.
willem@...

Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

The file itself is a 647.954 KB database dump called GipAccept.sql.

WinSCP 5.13

Error message:
Copying files to remote side failed.

Out of memory

Stack trace:
(0036B0AB) System::Classes::TMemoryStream::Realloc
(0036B0AB) System::Classes::TMemoryStream::Realloc
(00366547) System::Classes::TStream::SetSize64
(006AF38B) TFileBuffer::SetSize
(00718899) TSCPFileSystem::SCPSource
(00717AE5) TSCPFileSystem::CopyToRemote
(007CC3A5) TTerminal::CopyToRemote
(0000E6AA) TCustomScpExplorerForm::ExecuteFileOperation
(0001FD94) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001FF20) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(006776FA) TUnixDirView::PerformItemDragDropOperation
(0041D986) Customdirview::TCustomDirView::DDProcessDropped
(0044121F) Dragdrop::TDragDrop::WndMethod
(0037ED14) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF) USER32.dll
(00016885) USER32.dll.DispatchMessageW

(008BA63D) C5101_3
(008BBC17) _ReThrowException
(0071920D) TSCPFileSystem::SCPSource
(00717AE5) TSCPFileSystem::CopyToRemote
(007CC3A5) TTerminal::CopyToRemote
(0000E6AA) TCustomScpExplorerForm::ExecuteFileOperation
(0001FD94) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001FF20) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(006776FA) TUnixDirView::PerformItemDragDropOperation
(0041D986) Customdirview::TCustomDirView::DDProcessDropped
(0044121F) Dragdrop::TDragDrop::WndMethod
(0037ED14) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF)

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.
martin

Re: Kopírování souborů do vzdáleného adresáře selhalo - System::Classes::TMemoryStream::Realloc

Thanks for your reports.
vaclav.chmel@...

Kopírování souborů do vzdáleného adresáře selhalo - System::Classes::TMemoryStream::Realloc

<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.13.3

Error message:
Kopírování souborů do vzdáleného adresáře selhalo.

Out of memory

Stack trace:
(0036C707) System::Classes::TMemoryStream::Realloc
(0036C707) System::Classes::TMemoryStream::Realloc
(00367BA3) System::Classes::TStream::SetSize64
(006B16C7) TFileBuffer::SetSize
(0071AC79) TSCPFileSystem::SCPSource
(0071C4C8) TSCPFileSystem::SCPDirectorySource
(0071A6F6) TSCPFileSystem::SCPSource
(00719EC5) TSCPFileSystem::CopyToRemote
(007CE9B9) TTerminal::CopyToRemote
(0000E73E) TCustomScpExplorerForm::ExecuteFileOperation
(0000F530) TCustomScpExplorerForm::ExecuteFileOperation
(0000F5B7) TCustomScpExplorerForm::ExecuteFileOperationCommand
(0000F73E) TCustomScpExplorerForm::ExecuteCopyOperationCommand
(000390BD) TNonVisualDataModule::ExplorerActionsExecute
(003C24B4) System::Actions::TContainedActionList::ExecuteAction
(001A8295) Vcl::Actnlist::TCustomAction::Execute

(008BD0C5) C5104_0
(008BE69F) _ReThrowException
(0071B5ED) TSCPFileSystem::SCPSource
(0071C4C8) TSCPFileSystem::SCPDirectorySource
(0071A6F6) TSCPFileSystem::SCPSource
(00719EC5) TSCPFileSystem::CopyToRemote
(007CE9B9) TTerminal::CopyToRemote
(0000E73E) TCustomScpExplorerForm::ExecuteFileOperation
(0000F530) TCustomScpExplorerForm::ExecuteFileOperation
(0000F5B7) TCustomScpExplorerForm::ExecuteFileOperationCommand
(0000F73E) TCustomScpExplorerForm::ExecuteCopyOperationCommand
(000390BD) TNonVisualDataModule::ExplorerActionsExecute
(003C24B4) System::Actions::TContainedActionList::ExecuteAction
(001A8295) Vcl::Actnlist::TCustomAction::Execute

(008BD0C5) C5104_0
(008BE69F) _ReThrowException
(0071A185) TSCPFileSystem::CopyToRemote
(007CE9B9) TTerminal::CopyToRemote
(0000E73E) TCustomScpExplorerForm::ExecuteFileOperation
(0000F530) TCustomScpExplorerForm::ExecuteFileOperation
(0000F5B7) TCustomScpExplorerForm::ExecuteFileOperationCommand
(0000F73E) TCustomScpExplorerForm::ExecuteCopyOperationCommand
(000390BD) TNonVisualDataModule::ExplorerActionsExecute
(003C24B4) System::Actions::TContainedActionList::ExecuteAction
(001A8295) Vcl::Actnlist::TCustomAction::Execute

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.
Guest

Re: Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

martin wrote:

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.


Thanks. Switching to binary mode resolved the issue.
martin

Re: Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

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.
paul_higgins@...

Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

Trying to upload one or more files of 600MB or more fails. I have successfully uploaded file <600MB.
WinSCP 5.13.4

Error message:
Copying files to remote side failed.

Out of memory

Stack trace:
(0036D0B7) System::Classes::TMemoryStream::Realloc
(0036D0B7) System::Classes::TMemoryStream::Realloc
(00368553) System::Classes::TStream::SetSize64
(006B2653) TFileBuffer::SetSize
(0071BE0D) TSCPFileSystem::SCPSource
(0071B059) TSCPFileSystem::CopyToRemote
(007CFB3F) TTerminal::CopyToRemote
(0000E73E) TCustomScpExplorerForm::ExecuteFileOperation
(00020564) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(000206F0) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(0067A7CA) TUnixDirView::PerformItemDragDropOperation
(004204AE) Customdirview::TCustomDirView::DDProcessDropped
(00443D47) Dragdrop::TDragDrop::WndMethod
(00380D20) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF) USER32.dll
(00016885) USER32.dll.DispatchMessageW

(008BE2F9) C5104_3
(008BF8D3) _ReThrowException
(0071C781) TSCPFileSystem::SCPSource
(0071B059) TSCPFileSystem::CopyToRemote
(007CFB3F) TTerminal::CopyToRemote
(0000E73E) TCustomScpExplorerForm::ExecuteFileOperation
(00020564) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(000206F0) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(0067A7CA) TUnixDirView::PerformItemDragDropOperation
(004204AE) Customdirview::TCustomDirView::DDProcessDropped
(00443D47) Dragdrop::TDragDrop::WndMethod
(00380D20) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF)%

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.
pbojinov@...

External exception C0000029 - System::Classes::TMemoryStream::Realloc

<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.13.2

Error message:
External exception C0000029

Stack trace:
(0036C5C3) System::Classes::TMemoryStream::Realloc
(0036C5C3) System::Classes::TMemoryStream::Realloc
(00367A5F) System::Classes::TStream::SetSize64
(006B151F) TFileBuffer::SetSize
(0071AAD1) TSCPFileSystem::SCPSource
(00719D1D) TSCPFileSystem::CopyToRemote
(007CE7B1) TTerminal::CopyToRemote
(0000E73E) TCustomScpExplorerForm::ExecuteFileOperation
(00020510) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0002069C) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(0067980A) TUnixDirView::PerformItemDragDropOperation
(0041F942) Customdirview::TCustomDirView::DDProcessDropped
(004431DB) Dragdrop::TDragDrop::WndMethod
(0038022C) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF) USER32.dll
(00016885) USER32.dll.DispatchMessageW

(008BCCAD) C5104_0
(008BE287) _ReThrowException
(0071B445) TSCPFileSystem::SCPSource
(00719D1D) TSCPFileSystem::CopyToRemote
(007CE7B1) TTerminal::CopyToRemote
(0000E73E) TCustomScpExplorerForm::ExecuteFileOperation
(00020510) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0002069C) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(0067980A) TUnixDirView::PerformItemDragDropOperation
(0041F942) Customdirview::TCustomDirView::DDProcessDropped
(004431DB) Dragdrop::TDragDrop::WndMethod
(0038022C) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF) USER32.dll
(00016885) USER32.dl

The problem happens rarely. I cannot reproduce it.
wizzard99

Debug version

I've run the debug version but unfortunately it doesn't replicate the issue. The debug version works. I can't email the trace log as even zipped up it is 65Mb (unzipped it is 2.43Gb).
martin

Re: Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

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.
wizzard99@...

Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

Hi, Trying to transfer a 2.8Gb file from Windows to Unix and I get this error.

WinSCP 5.13.1

Error message:
Copying files to remote side failed.

Out of memory

Stack trace:
(0036B0F7) System::Classes::TMemoryStream::Realloc
(0036B0F7) System::Classes::TMemoryStream::Realloc
(00366593) System::Classes::TStream::SetSize64
(006AF507) TFileBuffer::SetSize
(00718A41) TSCPFileSystem::SCPSource
(00717C8D) TSCPFileSystem::CopyToRemote
(007CC721) TTerminal::CopyToRemote
(0000E6AA) TCustomScpExplorerForm::ExecuteFileOperation
(0001FD94) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001FF20) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(00677876) TUnixDirView::PerformItemDragDropOperation
(0041D9D2) Customdirview::TCustomDirView::DDProcessDropped
(0044126B) Dragdrop::TDragDrop::WndMethod
(0037ED60) System::Classes::_18201
(000324B9) USER32.dll
(0002490E) USER32.dll
(0002429D) USER32.dll
(0002406B) USER32.dll.DispatchMessageW
(00019B42)QIPCAP.dll

(008BAA61) C5101_0
(008BC03B) _ReThrowException
(007193B5) TSCPFileSystem::SCPSource
(00717C8D) TSCPFileSystem::CopyToRemote
(007CC721) TTerminal::CopyToRemote
(0000E6AA) TCustomScpExplorerForm::ExecuteFileOperation
(0001FD94) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001FF20) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(00677876) TUnixDirView::PerformItemDragDropOperation
(0041D9D2) Customdirview::TCustomDirView::DDProcessDropped
(0044126B) Dragdrop::TDragDrop::WndMethod
(0037ED60) System::Classes::_18201
(000324B9) USER32.dll
(0002490E) U

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.
martin

Re: Nie powiodło się kopiowanie plików do maszyny odległej - System::Classes::TMemoryStream::Realloc

bug@... wrote:

I'm trying to upload a 6.61 GB file from my Desktop to a Linux server and I get the "Out of memory" error.

WinSCP 5.11.3

Error message:
Nie powiodło się kopiowanie plików do maszyny odległej.

Out of memory

Stack trace:
(00368053)
(00368053)
(003634EF)
(006A310B)
(006FD6E9)
(006FC725)
(007B0319)
(006E20BC)
(006E0D9A)
(006DFDD2)
...

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.

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.
bug@...

Nie powiodło się kopiowanie plików do maszyny odległej - System::Classes::TMemoryStream::Realloc

I'm trying to upload a 6.61 GB file from my Desktop to a Linux server and I get the "Out of memory" error.

WinSCP 5.11.3

Error message:
Nie powiodło się kopiowanie plików do maszyny odległej.

Out of memory

Stack trace:
(00368053)
(00368053)
(003634EF)
(006A310B)
(006FD6E9)
(006FC725)
(007B0319)
(006E20BC)
(006E0D9A)
(006DFDD2)
(006DE17C)
(000A0DD7)
(00017742) KERNEL32.DLL.BaseThreadInitThunk
(0006482B) ntdll.dll.RtlGetAppContainerNamedObjectPath
(000647F8) ntdll.dll.RtlGetAppContainerNamedObjectPath

(0089D9B5)
(0089EF8F)
(006FE066)
(006FC725)
(007B0319)
(006E20BC)
(006E0D9A)
(006DFDD2)
(006DE17C)
(000A0DD7)
(00017742) KERNEL32.DLL.BaseThreadInitThunk
(0006482B) ntdll.dll.RtlGetAppContainerNamedObjectPath
(000647F8) ntdll.dll.RtlGetAppContainerNamedObjectPath

(0089D9B5)
(0089EF8F)
(006FC9E5)
(007B0319)
(006E20BC)
(006E0D9A)
(006DFDD2)
(006DE17C)
(000A0DD7)
(00017742) KERNEL32.DLL.BaseThreadInitThunk
(0006482B) ntdll.dll.RtlGetAppContainerNamedObjectPath
(000647F8) ntdll.dll.RtlGetAppContainerNamedObjectPath

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.
martin

Re: Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

rajshankar@... wrote:

Trying to upload a 2.5 GB file from my Desktop to a Linux server and get the "Out of memory" error.

Did you use "ascii" mode?
rajshankar@...

Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

Trying to upload a 2.5 GB file from my Desktop to a Linux server and get the "Out of memory" error.

WinSCP 5.13.1

Error message:
Copying files to remote side failed.

Out of memory

Stack trace:
(0036B0F7) System::Classes::TMemoryStream::Realloc
(0036B0F7) System::Classes::TMemoryStream::Realloc
(00366593) System::Classes::TStream::SetSize64
(006AF507) TFileBuffer::SetSize
(00718A41) TSCPFileSystem::SCPSource
(00717C8D) TSCPFileSystem::CopyToRemote
(007CC721) TTerminal::CopyToRemote
(0000E6AA) TCustomScpExplorerForm::ExecuteFileOperation
(0001FD94) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001FF20) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(00677876) TUnixDirView::PerformItemDragDropOperation
(0041D9D2) Customdirview::TCustomDirView::DDProcessDropped
(0044126B) Dragdrop::TDragDrop::WndMethod
(0037ED60) System::Classes::_18201
(0001D0B9) USER32.dll
(00027844) USER32.dll
(0002A140) USER32.dll
(000180D7) USER32.dll
(00017C1B) USER32.dll.DispatchMessageW

(008BAA61) C5101_0
(008BC03B) _ReThrowException
(007193B5) TSCPFileSystem::SCPSource
(00717C8D) TSCPFileSystem::CopyToRemote
(007CC721) TTerminal::CopyToRemote
(0000E6AA) TCustomScpExplorerForm::ExecuteFileOperation
(0001FD94) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001FF20) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(00677876) TUnixDirView::PerformItemDragDropOperation
(0041D9D2) Customdirview::TCustomDirView::DDProcessDropped
(0044126B) Dragdrop::TDragDrop::WndMethod
(0037ED60) System::Classes::_18201
(0001D0B9) USER32.dll
(00027844) USER32.dll
(0002A140) USER32.dll
(000180D7) USER32.dll
(00017C1B) USER32.dll.DispatchMessageW

(008BAA61) C5101_0
(008BC03B) _ReThrowException
(00717F4D) TSCPFileSystem::CopyToRemote
(007CC721) TTerminal::CopyToRemote
(0000E6AA) TCustomScpExplorerForm::ExecuteFileOperation
(0001FD94) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001FF20) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(00677876) TUnixDirView::PerformItemDragDropOperation
(0041D9D2) Customdirview::TCustomDirView::DDProcessDropped
(0044126B) Dragdrop::TDragDrop::WndMethod
(0037ED60) System::Classes::_18201
(0001D0B9) USER32.dll
(00027844) USER32.dll
(0002A140) USER32.dll
(000180D7) USER32.dll
(00017C1B) USER32.dll.DispatchMessageW

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.
pietro.lauro@...

Out of memory - System::Classes::TMemoryStream::Realloc

<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.11.3

Error message:
Out of memory

Stack trace:
(00368053) System::Classes::TMemoryStream::Realloc

The problem happens rarely. I cannot reproduce it.
tetsuo.nobe@...

リモートへのファイルのコピーに失敗。 - System::Classes::TMemoryStream::Realloc

<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.11.1

Error message:
リモートへのファイルのコピーに失敗。

Out of memory

スタック トレース:
(00367F2B) System::Classes::TMemoryStream::Realloc
(00367F2B) System::Classes::TMemoryStream::Realloc
(003633C7) System::Classes::TStream::SetSize64
(006A2A03) TFileBuffer::SetSize
(006FCFDD) TSCPFileSystem::SCPSource
(006FC019) TSCPFileSystem::CopyToRemote
(007AF97D) TTerminal::CopyToRemote
(0000E312) TCustomScpExplorerForm::ExecuteFileOperation
(0000F11C) TCustomScpExplorerForm::ExecuteFileOperation
(0000F1A3) TCustomScpExplorerForm::ExecuteFileOperationCommand
(0000F32A) TCustomScpExplorerForm::ExecuteCopyOperationCommand
(00038021) TNonVisualDataModule::ExplorerActionsExecute
(003BDCD8) System::Actions::TContainedActionList::ExecuteAction
(001A4E11) Vcl::Actnlist::TCustomAction::Execute
(0037BB94) System::Classes::_18201
(0002C2B1) USER32.dll
(0000D895) USER32.dll
(0000D1EF) USER32.dll
(0000CFAB) USER32.dll.DispatchMessageW

(0089CECD) C5067_0
(0089E4A7) _ReThrowException
(006FD95A) TSCPFileSystem::SCPSource
(006FC019) TSCPFileSystem::CopyToRemote
(007AF97D) TTerminal::CopyToRemote
(0000E312) TCustomScpExplorerForm::ExecuteFileOperation
(0000F11C) TCustomScpExplorerForm::ExecuteFileOperation
(0000F1A3) TCustomScpExplorerForm::ExecuteFileOperationCommand
(0000F32A) TCustomScpExplorerForm::ExecuteCopyOperationCommand
(00038021) TNonVisualDat

The problem happens rarely. I cannot reproduce it.
martin

Re: Out of memory - System::Classes::TMemoryStream::Realloc

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.
cedric.vaubien@...

Out of memory - System::Classes::TMemoryStream::Realloc

<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.11.1

Error message:
Out of memory

Trace de la pile :
(00367F2B) System::Classes::TMemoryStream::Realloc
(00367F2B) System::Classes::TMemoryStream::Realloc

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.
martin

Re: Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

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.
hlemos@...

Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

<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.9.6

Error message:
Copying files to remote side failed.

Out of memory

Stack trace:
(0035F8FB) System::Classes::TMemoryStream::Realloc
(0035F8FB) System::Classes::TMemoryStream::Realloc
(0035AD97) System::Classes::TStream::SetSize64
(0068B9A3) TFileBuffer::SetSize
(006E3395) TSCPFileSystem::SCPSource
(006E23C5) TSCPFileSystem::CopyToRemote
(00789179) TTerminal::CopyToRemote
(0000DCB0) TCustomScpExplorerForm::ExecuteFileOperation
(0001F704) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001F890) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(0065758E) TUnixDirView::PerformItemDragDropOperation
(004088DE) Customdirview::TCustomDirView::DDProcessDropped
(0042CE83) Dragdrop::TDragDrop::WndMethod
(00373564) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF) USER32.dll
(00016885) USER32.dll.DispatchMessageW

(00869015) C5077_0
(0086A5EF) _ReThrowException
(006E3D49) TSCPFileSystem::SCPSource
(006E23C5) TSCPFileSystem::CopyToRemote
(00789179) TTerminal::CopyToRemote
(0000DCB0) TCustomScpExplorerForm::ExecuteFileOperation
(0001F704) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001F890) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(0065758E) TUnixDirView::PerformItemDragDropOperation
(004088DE) Customdirview::TCustomDirView::DDProcessDropped
(0042CE83) Dragdrop::TDragDrop::WndMethod
(00373564) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF)%2

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.
martin

Re: Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

michjak@... wrote:

WinSCP 5.9.6

Error message:
Copying files to remote side failed.

Out of memory

Stack trace:
(0035F8FB) System::Classes::TMemoryStream::Realloc
(0035F8FB) System::Classes::TMemoryStream::Realloc
(0035AD97) System::Classes::TStream::SetSize64
(0068B9A3) TFileBuffer::SetSize
(006E3395) TSCPFileSystem::SCPSource
...

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.

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.
loezam@...

Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

<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.9.6

Error message:
Copying files to remote side failed.

Out of memory

Stack trace:
(0035F8FB) System::Classes::TMemoryStream::Realloc
(0035F8FB) System::Classes::TMemoryStream::Realloc
(0035AD97) System::Classes::TStream::SetSize64
(0068B9A3) TFileBuffer::SetSize
(006E3395) TSCPFileSystem::SCPSource
(006E23C5) TSCPFileSystem::CopyToRemote
(00789179) TTerminal::CopyToRemote
(0000DCB0) TCustomScpExplorerForm::ExecuteFileOperation
(0001F704) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001F890) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(0065758E) TUnixDirView::PerformItemDragDropOperation
(004088DE) Customdirview::TCustomDirView::DDProcessDropped
(0042CE83) Dragdrop::TDragDrop::WndMethod
(00373564) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF) USER32.dll
(00016885) USER32.dll.DispatchMessageW

(00869015) C5077_0
(0086A5EF) _ReThrowException
(006E3D49) TSCPFileSystem::SCPSource
(006E23C5) TSCPFileSystem::CopyToRemote
(00789179) TTerminal::CopyToRemote
(0000DCB0) TCustomScpExplorerForm::ExecuteFileOperation
(0001F704) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001F890) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(0065758E) TUnixDirView::PerformItemDragDropOperation
(004088DE) Customdirview::TCustomDirView::DDProcessDropped
(0042CE83) Dragdrop::TDragDrop::WndMethod
(00373564) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF)%2

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.
michjak@...

Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

<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.9.6

Error message:
Copying files to remote side failed.

Out of memory

Stack trace:
(0035F8FB) System::Classes::TMemoryStream::Realloc
(0035F8FB) System::Classes::TMemoryStream::Realloc
(0035AD97) System::Classes::TStream::SetSize64
(0068B9A3) TFileBuffer::SetSize
(006E3395) TSCPFileSystem::SCPSource
(006E23C5) TSCPFileSystem::CopyToRemote
(00789179) TTerminal::CopyToRemote
(0000DCB0) TCustomScpExplorerForm::ExecuteFileOperation
(0000EAB8) TCustomScpExplorerForm::ExecuteFileOperation
(0000EB3F) TCustomScpExplorerForm::ExecuteFileOperationCommand
(0003741F) TNonVisualDataModule::ExplorerActionsExecute
(003B5680) System::Actions::TContainedActionList::ExecuteAction
(0019C7F9) Vcl::Actnlist::TCustomAction::Execute

(00869015) C5077_0
(0086A5EF) _ReThrowException
(006E3D49) TSCPFileSystem::SCPSource
(006E23C5) TSCPFileSystem::CopyToRemote
(00789179) TTerminal::CopyToRemote
(0000DCB0) TCustomScpExplorerForm::ExecuteFileOperation
(0000EAB8) TCustomScpExplorerForm::ExecuteFileOperation
(0000EB3F) TCustomScpExplorerForm::ExecuteFileOperationCommand
(0003741F) TNonVisualDataModule::ExplorerActionsExecute
(003B5680) System::Actions::TContainedActionList::ExecuteAction
(0019C7F9) Vcl::Actnlist::TCustomAction::Execute

(00869015) C5077_0
(0086A5EF) _ReThrowException
(006E2685) TSCPFileSystem::CopyToRemote
(00789179) TTerminal::CopyToRemote
(0000DCB0) TCustomScpExplorerForm::ExecuteFileOperation
(0000EAB8) TCustomScpExplorerForm::ExecuteFileOperation
(0000EB3F) T

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.
martin

Re: Copie de fichiers vers le coté distant échouée - System::Classes::TMemoryStream::Realloc

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.
Guest

Re: Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

Hi,
i retried the transfert (i really need this file on the other server) while forcing the binary mode and then it's working...with the right click command + binary => without forcing the binary option, i have the error.
ludovic.gressier@...

Copie de fichiers vers le coté distant échouée - System::Classes::TMemoryStream::Realloc

Hi,
i joined a screenshot, i'm trying to copie a 4.5 Go dump file (binary mode) by drag&drop or menu, the error is the same. The distant server is a linux centos 6.9 in a VM from oracle virtual box launched on the machine where i'm trying to send file from... I installed this version because i already met this error with the previous version. This file was already transfered from an other linux VM from an ESX, not my PC without any pb.


WinSCP 5.9.5

Error message:
Copie de fichiers vers le coté distant échouée.

Out of memory

Trace de la pile :
(0035F603) System::Classes::TMemoryStream::Realloc
(0035F603) System::Classes::TMemoryStream::Realloc
(0035AA9F) System::Classes::TStream::SetSize64
(0068A2FF) TFileBuffer::SetSize
(006E1CF1) TSCPFileSystem::SCPSource
(006E0D21) TSCPFileSystem::CopyToRemote
(00787AC9) TTerminal::CopyToRemote
(0000DCB0) TCustomScpExplorerForm::ExecuteFileOperation
(0001F704) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001F890) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(00655EEA) TUnixDirView::PerformItemDragDropOperation
(004085E6) Customdirview::TCustomDirView::DDProcessDropped
(0042CB8B) Dragdrop::TDragDrop::WndMethod
(0037326C) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF) USER32.dll
(00016885) USER32.dll.DispatchMessageW

(00867679) C5073_3
(00868C53) _ReThrowException
(006E26A5) TSCPFileSystem::SCPSource
(006E0D21) TSCPFileSystem::CopyToRemote
(00787AC9) TTerminal::CopyToRemote
(0000DCB0) TCustomScpExplorerForm::ExecuteFileOperation
(0001F704) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001F890) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(00655EEA) TUnixDirView::PerformItemDragDropOperation
(004085E6) Customdirview::TCustomDirView::DDProcessDropped
(0042CB8B) Dragdrop::TDragDrop::WndMethod
(0037326C) System::Classes::_18201
(000152F7) USER32.dll
(0001

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.
martin

Re: Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

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.
rhoninpowers@...

Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

<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.9.2

Error message:
Copying files to remote side failed.

Out of memory

Stack trace:
(0035EF83) System::Classes::TMemoryStream::Realloc
(0035EF83) System::Classes::TMemoryStream::Realloc
(0035A41F) System::Classes::TStream::SetSize64
(00687C37) TFileBuffer::SetSize
(006DF411) TSCPFileSystem::SCPSource
(006DE441) TSCPFileSystem::CopyToRemote
(00784E11) TTerminal::CopyToRemote
(0000DC1D) TCustomScpExplorerForm::ExecuteFileOperation
(0001F480) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001F60C) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(006549AE) TUnixDirView::PerformItemDragDropOperation
(00407EA6) Customdirview::TCustomDirView::DDProcessDropped
(0042C43B) Dragdrop::TDragDrop::WndMethod
(00372BEC) System::Classes::_18201
(0002C271) USER32.dll
(0000D845) USER32.dll
(0000D19F) USER32.dll
(0000CF5B) USER32.dll.DispatchMessageW

(00863EB1) C5073_3
(0086548B) _ReThrowException
(006DFDC5) TSCPFileSystem::SCPSource
(006DE441) TSCPFileSystem::CopyToRemote
(00784E11) TTerminal::CopyToRemote
(0000DC1D) TCustomScpExplorerForm::ExecuteFileOperation
(0001F480) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001F60C) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(006549AE) TUnixDirView::PerformItemDragDropOperation
(00407EA6) Customdirview::TCustomDirView::DDProcessDropped
(0042C43B) Dragdrop::TDragDrop::WndMethod
(00372BEC) System::Classes::_18201
(0002C271) USER32.dll
(0000D845) USER32.dll
(0000D19F)%2

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.
john.bartlett@...

Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

Python script had issue and now memory says full when it is not. Appreciate any insight.


<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.9.2

Error message:
Copying files to remote side failed.

Out of memory

Stack trace:
(0035EF83) System::Classes::TMemoryStream::Realloc
(0035EF83) System::Classes::TMemoryStream::Realloc
(0035A41F) System::Classes::TStream::SetSize64
(00687C37) TFileBuffer::SetSize
(006DF411) TSCPFileSystem::SCPSource
(006DE441) TSCPFileSystem::CopyToRemote
(00784E11) TTerminal::CopyToRemote
(006C5D73) TUploadQueueItem::DoExecute
(006C354E) TTerminalItem::ProcessEvent
(006C19F4) TSignalThread::Execute
(000987A7) Userinterface::C20_0
(000128F2) KERNEL32.DLL.BaseThreadInitThunk
(00064DE1) ntdll.dll
(00064DA9) ntdll.dll

(00863EB1) C5073_3
(0086548B) _ReThrowException
(006DFDC5) TSCPFileSystem::SCPSource
(006DE441) TSCPFileSystem::CopyToRemote
(00784E11) TTerminal::CopyToRemote
(006C5D73) TUploadQueueItem::DoExecute
(006C354E) TTerminalItem::ProcessEvent
(006C19F4) TSignalThread::Execute
(000987A7) Userinterface::C20_0
(000128F2) KERNEL32.DLL.BaseThreadInitThunk
(00064DE1) ntdll.dll
(00064DA9) ntdll.dll

(00863EB1) C5073_3
(0086548B) _ReThrowException
(006DE701) TSCPFileSystem::CopyToRemote
(00784E11) TTerminal::CopyToRemote
(006C5D73) TUploadQueueItem::DoExecute
(006C354E) TTerminalItem::ProcessEvent
(006C19F4) TSignalThread::Execute
(000987A7) Userinterface::C20_0
(000128F2) KERNEL32.DLL.BaseThreadInitThunk
(00064DE1) ntdll.dll
(00064DA9) ntdll.dll

The problem happens rarely. I cannot reproduce it.
martin

Re: Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

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.
jvaughn@...

Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
I try to drag and drop a relatively large file and it fails, have tried multiple remote targets over SCP.
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.9.2

Error message:
Copying files to remote side failed.

Out of memory

Stack trace:
(0035EF83) System::Classes::TMemoryStream::Realloc
(0035EF83) System::Classes::TMemoryStream::Realloc
(0035A41F) System::Classes::TStream::SetSize64
(00687C37) TFileBuffer::SetSize
(006DF411) TSCPFileSystem::SCPSource
(006DE441) TSCPFileSystem::CopyToRemote
(00784E11) TTerminal::CopyToRemote
(0000DC1D) TCustomScpExplorerForm::ExecuteFileOperation
(0001F480) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001F60C) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(006549AE) TUnixDirView::PerformItemDragDropOperation
(00407EA6) Customdirview::TCustomDirView::DDProcessDropped
(0042C43B) Dragdrop::TDragDrop::WndMethod
(00372BEC) System::Classes::_18201
(0002C271) USER32.dll
(0000D845) USER32.dll
(0000D19F) USER32.dll
(0000CF5B) USER32.dll.DispatchMessageW

(00863EB1) C5073_3
(0086548B) _ReThrowException
(006DFDC5) TSCPFileSystem::SCPSource
(006DE441) TSCPFileSystem::CopyToRemote
(00784E11) TTerminal::CopyToRemote
(0000DC1D) TCustomScpExplorerForm::ExecuteFileOperation
(0001F480) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001F60C) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(006549AE) TUnixDirView::PerformItemDragDropOperation
(00407EA6) Customdirview::TCustomDirView::DDProcessDropped
(0042C43B) Dragdrop::TDragDrop::WndMethod
(00372BEC) System::Classes::_18201
(0002C271) USER32.dll
(0000D845) USER32.dll
(0000D19F)%2

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.
martin

Re: Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

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.
theadvocacy@...

Copying files to remote side failed - System::Classes::TMemoryStream::Realloc

Reproduction Steps:

Open WinSCP in Windows 10 Enterprise
Control A to select all folders in a directory
Drag and Drop in to right hand window displaying the contents of the remote site
Crash every single time

WinSCP 5.7.7

Error message:
Copying files to remote side failed.

Out of memory

Stack trace:
(0032C933) System::Classes::TMemoryStream::Realloc
(0032C933) System::Classes::TMemoryStream::Realloc
(00327DCF) System::Classes::TStream::SetSize64
(0063F6FB) TFileBuffer::SetSize
(0068D943) TSCPFileSystem::SCPSource
(0068F5DF) TSCPFileSystem::SCPDirectorySource
(0068D26A) TSCPFileSystem::SCPSource
(0068C9BE) TSCPFileSystem::CopyToRemote
(00723D75) TTerminal::CopyToRemote
(0000C302) TCustomScpExplorerForm::ExecuteFileOperation
(0001D2A9) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001D432) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(006153DA) TUnixDirView::PerformItemDragDropOperation
(003D9992) Customdirview::TCustomDirView::DDProcessDropped
(003FF27F) Dragdrop::TDragDrop::WndMethod
(0034059C) System::Classes::_18201
(00033921) USER32.dll
(0001378B) USER32.dll
(0001308C) USER32.dll
(00012E4B) USER32.dll.DispatchMessageW

(007E0F15) C4799_0
(007E24EF) _ReThrowException
(0068E2F7) TSCPFileSystem::SCPSource
(0068F5DF) TSCPFileSystem::SCPDirectorySource
(0068D26A) TSCPFileSystem::SCPSource
(0068C9BE) TSCPFileSystem::CopyToRemote
(00723D75) TTerminal::CopyToRemote
(0000C302) TCustomScpExplorerForm::ExecuteFileOperation
(0001D2A9) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(0001D432) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(006153DA) TUnixDirView::PerformItemDragDropOperation
(003D9992) Customdirview::TCustomDirView

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.