---
title: memoryFailure
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/macherror/memoryfailure
---

# memoryFailure

During a page fault, the target address refers to a memory object that has been destroyed.  This failure is permanent.

## Declaration

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