The message you see may appear from time to time because other applications may still be running in the background taking up memory. If the app you are trying to use is hungry for memory you may see this message appear. Turning off your iPhone and then back on reloads OSX and reclaims memory that might have been being used by the open applications.
Tera