VMware {code} Community
icnocop2
Contributor
Contributor

Copying a large file to the guest causes the virtual machine to hang and eventually crash with error "CoreDump error line 2160, error Cannot allocate memory" as described in KB2137310

VMware vCenter Server 6.0U2+ (6.0.0.3634794)

VMware ESXi Server 6.0U2+ (6.0.0.3825889)

Guest OS: Windows Server 2012 R2

VMware Tools: 10.0.6.3560309

Trying to copy a large file to the guest causes the virtual machine to hang and eventually crash with error "CoreDump error line 2160, error Cannot allocate memory" as described in KB2137310

The file I'm trying to copy to the guest is Windows8.1-KB2919355-x64.msu (690.8 MB) which can be downloaded here:

Download Windows 8.1 Update for x64-based Systems (KB2919355) from Official Microsoft Download Cente...

I'm able to reproduce the issue with the attached code sample written in C# targeting .NET 4.5 and references VMware.Vim.dll that comes with VMware-PowerCLI-6.3.0-3737840.

I'm running on Windows 7 Enterprise x64 SP1 and using Visual Studio 2015 Update 2.

"C:\KB2919355\Windows8.1-KB2919355-x64.msu" exists on my machine.

"C:\install" already exists in the guest.

In my case, the upload stops at around 50%.

There is enough disk space in the guest and on the host.

There is also enough memory on the host, indicated as Memory usage: 25445.00 MB Capacity: 32759.11 MB.

Running the PowerCLI Cmdlet Copy-VMGuestFile works without issues.

KB2137310

VMware KB: Consumption of VMware Extended Guest Statistics on ESXi 5.5 Update 3 or ESXi 6.0 may lead...

Any ideas?

Thank you!

Message was edited by: icnocop2 Updated build version numbers

0 Kudos
0 Replies