Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Silverrune

macrumors regular
Original poster
Oct 2, 2011
177
0
I have tried multiple times to stop the creation of Sleep Image but it hasn't worked any help? I also have noticed 6 swapfiles that have popped up on my HDD what are they?
 

GGJstudios

macrumors Westmere
May 16, 2008
44,556
950
I have tried multiple times to stop the creation of Sleep Image but it hasn't worked any help?
How to Remove the Disk-hogging Sleepimage File from Your Mac | Mac|Life
I also have noticed 6 swapfiles that have popped up on my HDD what are they?
Swap files are created by OS X when you've exceeded your physical RAM. Don't delete them, as OS X manages them automatically. Restarting your Mac should remove most or all of them, but they will be rebuilt as needed.

To determine if you can benefit from more RAM, launch Activity Monitor and click the System Memory tab at the bottom to check your page outs. Page outs are cumulative since your last restart, so the best way to check is to restart your computer and track page outs under your normal workload (the apps, browser pages and documents you normally would have open). If your page outs are significant (say 1GB or more) under normal use, you may benefit from more RAM. If your page outs are zero or very low during normal use, you probably won't see any performance improvement from adding RAM.

Using Activity Monitor to read System Memory and determine how much RAM is being used
 

Silverrune

macrumors regular
Original poster
Oct 2, 2011
177
0
How to Remove the Disk-hogging Sleepimage File from Your Mac | Mac|Life

Swap files are created by OS X when you've exceeded your physical RAM. Don't delete them, as OS X manages them automatically. Restarting your Mac should remove most or all of them, but they will be rebuilt as needed.

To determine if you can benefit from more RAM, launch Activity Monitor and click the System Memory tab at the bottom to check your page outs. Page outs are cumulative since your last restart, so the best way to check is to restart your computer and track page outs under your normal workload (the apps, browser pages and documents you normally would have open). If your page outs are significant (say 1GB or more) under normal use, you may benefit from more RAM. If your page outs are zero or very low during normal use, you probably won't see any performance improvement from adding RAM.

Using Activity Monitor to read System Memory and determine how much RAM is being used

My page outs are currently at 10GB I am planning on getting 16 GB of Ram for January, overkill yes, that solves that. I tried using that tutorial I checked that it was at 0 but somehow it was created again. I deleted before and I know it was gone (triple checked using DaisyDisk) and now it is back.
Edit: Re-Read your comment, I believe I restarted yesterday. I will try again tonight and see what happens in terms of the Page Outs.
Edit 2: Terminal Commands like these in general don't seem to be working. (Sleepimage)
 
Last edited:

Silverrune

macrumors regular
Original poster
Oct 2, 2011
177
0
Set sleep mode in shell:
sudo pmset -a hibernatemode 0
Remove the image:
sudo rm /private/var/vm/sleepimage
Create a blanked file:
sudo touch /private/var/vm/sleepimage
Make file immutable:
sudo chflags uchg /private/var/vm/sleepimage

That should do it.
This worked so everything is settled as far as Sleepimage.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.