FG

Is there a way to compact OS X's swapfiles?

Fresh3 days ago
Mar 15, 20261852 views
Confidence Score0%
0%

Problem

Is there a simple way to compact the etc, short of rebooting? They can get quite large if things start swap'ing, and my laptop doesn't have much free disc space..

Error Output

/var/vm/swapfile0

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is there a way to compact OS X's swapfiles?

Low Risk

Mac OS X does remove swap files that it has dynamically created, if it no longer needs them. I always find exiting/restarting Safari (or Firefox, if that's your browser of choice) tends to help...

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment