---
title: PHASEAssetError.Code.memoryAllocation
framework: PHASE
role: symbol
role_heading: Case
path: phase/phaseasseterror-swift.struct/code/memoryallocation
---

# PHASEAssetError.Code.memoryAllocation

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

## Declaration

```swift
case memoryAllocation
```

## See Also

### Errors

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