Calculate memory usage using #import<mach/mach.h> etc only on IOS: CC_TARGET_OS_IPHONE