VMware vCenter Server 6.0U1 (6.0.0.3018523)
VMware ESXi Server 6.0U2 (6.0.0.3620759)
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:
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
Would the fact that the vCenter Server is still running 6.0U1 still cause the issue?
I've asked my IT department to update it to 6.0U2, but I'm not sure how long they will take to update it.
Any other ideas?
Thank you!