---
title: kCVReturnWouldExceedAllocationThreshold
framework: corevideo
role: symbol
role_heading: Global Variable
path: corevideo/kcvreturnwouldexceedallocationthreshold
---

# kCVReturnWouldExceedAllocationThreshold

Allocation for a pixel buffer failed because the threshold value set for the kCVPixelBufferPoolAllocationThresholdKey key in the CVPixelBufferPoolCreatePixelBufferWithAuxAttributes(_:_:_:_:) function would be surpassed.

## Declaration

```swift
var kCVReturnWouldExceedAllocationThreshold: CVReturn { get }
```

## See Also

### Buffer Pool

- [kCVReturnRetry](corevideo/kcvreturnretry.md)
- [kCVReturnInvalidPoolAttributes](corevideo/kcvreturninvalidpoolattributes.md)
- [kCVReturnPoolAllocationFailed](corevideo/kcvreturnpoolallocationfailed.md)
