Sometimes, when you have to copy a very large file for example a DB backup which is over 60GBytes you may encounter an error stating:

Operating system error 1450 Insufficient system resources exist to complete the requested service.

or

ERROR 1130: Not enough server storage is available to process this command.

ERROR 1130 / hex 0x46a ERROR_NOT_ENOUGH_SERVER_MEMORY

Backup or restore operation terminating abnormally.

Microsoft KB describing this issue is here.

In our case following steps described in Registry fix 1 solved the issue.

Fix consists of adding DWORD value named PoolUsageMaximum a and setting the value to 60 as initial one. Unfortunately server restart is required after adding this, so keep this in mind.

Above fix did the job. I have tested it with Robocopy.exe and Richcopy with logging enabled and all seems to be working fine.