macOS purge Clears RAM File Cache, Not Disk Files
The macOS command purge is often mistaken for a disk cleanup tool, but it only empties a file-backed cache held in RAM. According to the installed man page, its main purpose is performance benchmarking, approximating a cold boot by forcing file reads to come from storage. Cached files are copies kept in memory to speed up later reads, so purging them does not delete files or free disk space. The author verified this by reading the manual and running read-only commands like df and vm_stat without executing purge. For disk-full problems, filesystem usage checks such as df are the proper starting point, while memory-pressure issues require separate diagnostics.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in