---
title: noMemory
framework: system
role: symbol
role_heading: Type Property
path: system/errno/nomemory
---

# noMemory

Can’t allocate memory.

## Declaration

```swift
static var noMemory: Errno { get }
```

## Mentioned in

Adopting Swift Error Constants

## Discussion

Discussion The new process image required more memory than was allowed by the hardware or by system-imposed memory management constraints. A lack of swap space is normally temporary; however, a lack of core is not. You can increase soft limits up to their corresponding hard limits. The corresponding C error is ENOMEM.

## See Also

### Runtime Errors

- [deadlock](system/errno/deadlock.md)
- [wouldBlock](system/errno/wouldblock.md)
