Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

hdiutil returns error trying to resize sparsebundle

Trying command:

*hdiutil resize -size 10g foo.sparsebundle*

hdiutil asks for the password, then after some time this error is returned:

*hdiutil: resize failed - Cannot allocate memory*

iMac 27", Mac OS X (10.6.4), 4GB Ram

Posted on Jul 14, 2010 2:56 PM

Reply
1 reply
Sort By: 

Jul 14, 2010 3:50 PM in response to snscomp

The image size was large (2T). I had to take in in stages or there were errors:

hdutil resize -size 1.5t foo.sparsebundle

hdutil resize -size 1t foo.sparsebundle

hdutil resize -size 500g foo.sparsebundle

hdutil resize -size 10g foo.sparsebundle
Reply

hdiutil returns error trying to resize sparsebundle

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.