if([UIDevice currentDevice].availableMemory > 10) { // Proceed as normal } else { // Throw a UIAlertView warning the user }