---
title: minFreeDiskSpaceLimit
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturefileoutput/minfreediskspacelimit
---

# minFreeDiskSpaceLimit

The minimum amount of free space, in bytes, required for recording to continue on a given volume.

## Declaration

```swift
var minFreeDiskSpaceLimit: Int64 { get set }
```

## Discussion

Discussion This property specifies a hard lower limit on the amount of free space that must remain on a target volume for recording to continue. Recording is stopped when the limit is reached and the fileOutput(_:didFinishRecordingTo:from:error:) delegate method is invoked with an appropriate error.

## See Also

### Setting file output properties

- [delegate](avfoundation/avcapturefileoutput/delegate.md)
- [maxRecordedDuration](avfoundation/avcapturefileoutput/maxrecordedduration.md)
- [maxRecordedFileSize](avfoundation/avcapturefileoutput/maxrecordedfilesize.md)
- [outputFileURL](avfoundation/avcapturefileoutput/outputfileurl.md)
- [recordedDuration](avfoundation/avcapturefileoutput/recordedduration.md)
- [recordedFileSize](avfoundation/avcapturefileoutput/recordedfilesize.md)
- [isRecording](avfoundation/avcapturefileoutput/isrecording.md)
- [isRecordingPaused](avfoundation/avcapturefileoutput/isrecordingpaused.md)
