---
title: memoryRestartCopy
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/macherror/memoryrestartcopy
---

# memoryRestartCopy

A strategic copy was attempted of an object upon which a quicker copy is now possible.  The caller should retry the copy using vm_object_copy_quickly. This error code is seen only by the kernel.

## Declaration

```swift
static var memoryRestartCopy: MachError.Code { get }
```
