hdiutil returns error trying to resize sparsebundle
*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