MacBook – sleepimage wrong size

macbook promemorysleep-wake

I have an early Early 2011 MBP, which I installed 16GB of RAM in, despite the fact that Apple claims the maximum is 8GB. This is a hack which is known to work, but I'm having some trouble with hibernate as a result.

It seems my sleep image is only 8GB, despite the fact that my RAM is 16GB; consequently, if I lose power while having more than 8GB in memory, safe sleep fails.

Any ideas on how to correct this?

Best Answer

A guess

See whether the problem is reproducible with compressed memory disabled.

If that's not a workaround, please vote down this answer and leave a comment.

Related

vm_compressor_mode (vm.compressor_mode) values for enabled compressed memory in OS X

– there's a link to an answer about disabling compressed memory.