Contribute
Register

Remove "sleepimage" and get many GBs back and faster sleep!

Status
Not open for further replies.
thankfully to this post i found out that my "hibernatemode" was always already set on 0 instead of default 3.

Now i have set it to 3.

So maybe this fixes the nVidia GTS 450 random freeze problem.
Or the External Hard Drive Auto eject (with warning message from apple) that happened after waking up my hackintosh from sleep.

We will see.

by the way: my "sleepimage" file is only about 3.22GB, so no really need to delete that.

And thanks for this great Informations here.

cheers
 
From the pmset man page:

hibernatemode = 0 (binary 0000) by default on supported desktops.
The system will not back memory up to persistent storage. The system must
wake from the contents of memory; the system will lose context on power
loss. This is, historically, plain old sleep.

hibernatemode = 3 (binary 0011) by default on supported portables.
The system will store a copy of memory to persistent storage (the disk), and
will power memory during sleep. The system will wake from memory, unless
a power loss forces it to restore from disk image.

Unless you are using a laptop do not use hibernatemode = 3.
 
INCREDIBLE!

OK! looks like one problem is gone by adding hibernatemode = 3 instead of 0 that was already set on my machine.

Now the External Hard Drive fully wakes up back and does not auto eject anymore.

I'm pretty sure that this fixed it, as i tried yesterday for a wile to fix the issue and was not able to get the External HD waking up back after sleep.
Also my External Audio Interface FireWire F410 that sometimes does not wake up back, works now very fine.

Sadly i had already one Graphic freeze, so this does not fix that issue.

But, he, my External HD and Audio Interface now works fine after waking up from sleep.

this is my External HD that causes trouble before. and now works fully!

Verfügbar: 1.55 TB (1'546'641'211'392 Byte)
Kapazität: 3 TB (3'000'214'962'176 Byte)
Mount-Point: /Volumes/blablabla
Dateisystem: Journaled HFS+
Beschreibbar: Ja
Eigentümer ignorieren: Nein
BSD-Name: disk3s2
UUID des Volumes: 177A0612-93CA-381F-86DB-E1C57E32EE55
Physisches Laufwerk:
Medienname: WD My Book 1140 Media
Protokoll: USB
Intern: Nein
Partitionstabellentyp: GPT (GUID-Partitionstabelle)
S.M.A.R.T.-Status: Nicht unterstützt

cheers
 
Good one! I don't use sleep on my HackMini, that's 16 extra GB of storage I just got back.

By the way if you want to check what your current hibernation mode is, use

Code:
pmset -g live

Cheers
 
Good one! I don't use sleep on my HackMini, that's 16 extra GB of storage I just got back.

By the way if you want to check what your current hibernation mode is, use

Code:
pmset -g live

Cheers

thanks
 
I just wanted to thank OP for this wonderful information because it has COMPLETELY resolved my sleep issues.

I used the tonymac customac page to order the parts for my new system (through the tonymac site so it gets commission) and was having a problem where sleep would work 50% of the time.

When it didn't work you would attempt sleep and the hard disk would become active then stop and everything would freeze (no sleep).

When it did work the hard disk would become active, pause for a second, become active again and then sleep.

However, using pmset hibernate 0 has completely alleviated this problem and I have successfully sleeped my system at least 30 times in a row (for testing).

I am very grateful for this, thanks!!
 
This tool have this remove sleep image feature and more

http://chameleon.alessandroboschini.it/index.php

Skærmbillede 2013-04-12 kl. 04.55.27.png
 
Status
Not open for further replies.
Back
Top