<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Dispatch",
  "identifier" : "/documentation/Dispatch/DispatchSource/MemoryPressureEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Dispatch"
    ],
    "preciseIdentifier" : "s:So18OS_dispatch_sourceC8DispatchE19MemoryPressureEventV"
  },
  "title" : "DispatchSource.MemoryPressureEvent"
}
-->

# DispatchSource.MemoryPressureEvent

Memory pressure events.

```
struct MemoryPressureEvent
```

## Topics

### Memory Pressure Event Flags

[`all`](/documentation/Dispatch/DispatchSource/MemoryPressureEvent/all)

All memory pressure events.

[`normal`](/documentation/Dispatch/DispatchSource/MemoryPressureEvent/normal)

An event indicating that the system memory pressure condition changed to normal.

[`warning`](/documentation/Dispatch/DispatchSource/MemoryPressureEvent/warning)

An event indicating that the system memory pressure condition changed to warning.

[`critical`](/documentation/Dispatch/DispatchSource/MemoryPressureEvent/critical)

An event indicating that the system memory pressure condition changed to critical.

### Initializing the Type

### Expressing the Type

### Managing the Type

### Comparing Types



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)