I have developed a simple location aware iPhone application which is functionally working very well to our expectations except in the low memory condition of the phone .
To my surprise, only a few apps in the official iPhone samples implement didReciveMemoryWarning. You can use the iPhoneCoreDataRecipes example as an reference.
Some samples (e.g. TableViewSuite) even do something else ;-)