---
title: memoryAllocation
framework: PHASE
role: symbol
role_heading: Type Property
path: phase/phaseasseterror-swift.struct/memoryallocation
---

# memoryAllocation

An error the framework throws when an asset depletes system memory.

## Declaration

```swift
static var memoryAllocation: PHASEAssetError.Code { get }
```

## See Also

### Identifying an Error Cause

- [alreadyExists](phase/phaseasseterror-swift.struct/alreadyexists.md)
- [badParameters](phase/phaseasseterror-swift.struct/badparameters.md)
- [failedToLoad](phase/phaseasseterror-swift.struct/failedtoload.md)
- [generalError](phase/phaseasseterror-swift.struct/generalerror.md)
- [invalidEngineInstance](phase/phaseasseterror-swift.struct/invalidengineinstance.md)
