Close all other applications and re-execute the operation. If the error persists, check that your system has adequate swap-file space. Or, reduce the complexity of the migration to work within the available memory.