Where is the virtual memory swap file located?

A

AlexN

Guest
Where is the virtual memory swap file located? On Windows XP, it's called pagefile.sys. Anyone know where is it located on MacOS X?
 
Joined
Feb 6, 2005
Messages
1,551
Reaction score
102
Points
63
Location
Chicago
Your Mac's Specs
MacBook Pro M1 • iPhone 14 Pro • iPad Pro • iMac Retina 27"
/private/var/vm/swapfile0

...or some similar name.
 
OP
A

AlexN

Guest
caribiner23 said:
/private/var/vm/swapfile0

...or some similar name.

Okay, I found the file. But in Finder, it shows that the swapfile0 is only 64MB while the Activity Monitor says the VM size is 3.95GB. I only have 1.5GB physical memory; if the swapfile is only 64MB, how could the VM size be 3.95GB?

Weird, isn't it?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top