---
name: "purge"
section: "8"
platform: "macos"
package: "system_cmds"
version: "1042.120.1"
release: "macOS 26.5"
platforms: ["macos"]
url: "https://new.carta.tech/purge"
---

# purge(8)

force disk cache to be purged (flushed and emptied)

## NAME

**purge** – force disk cache to be purged (flushed and emptied)

## SYNOPSIS

**purge**

## DESCRIPTION

**Purge** can be used to approximate initial boot conditions with a cold disk buffer cache for performance analysis. It does not affect anonymous memory that has been allocated through malloc, vm\_allocate, etc.

## SEE ALSO

[malloc(3)](/malloc/3.md), [sync(8)](/sync/8.md)
