iPhone memory full? How to free memory on your iPhone

There's nothing more frustrating than lining up a perfect picture, opening the iPhone's camera app, going to snap a photo, and realizing you're out of storage. Memory is important for getting the most of you're iPhone, whether it be for storing photos, apps, music or other data.

Here's how to free up space on your iPhone:

Clear Safari's cache: Web browsers hold a lot of data that can be deleted every now and then to free up memory on your iPhone. Fair warning: You will be logged out of any sites you have log-in information saved for, but in a pinch, this is a simple way to increase space. Clear your history, browsing data and cookies by heading to Settings > Safari > Clear History and Website Data.

Delete old text messages: Still holding onto texts from a year ago? It might be time to let them go as they can accumulate over time and eat up precious space. While the texts themselves may not take up much storage, the accompanying photo and video attachments are the real killer. You can delete entire threads using the edit button in the messaging app. Or you can delete select attachments by tapping the Details button on a text thread, holding an image, and pressing "More." From here you'll be able to select photos and videos for mass deletion. Going forward, if you go to Settings > Messages > Keep Messages, you can set an option for text messages to be automatically deleted after 30 days or a year.

Delete unnecessary apps: With so many options available in the App Store, it's easy to lose track of all the programs you've installed in the past. If you decide that an app doesn't make the cut, simply hold down on the icon on the home screen and an "X" button will appear. For a more detailed look, go to Settings > General > Storage & iCloud Usage > Manage Storage to receive a breakdown on how much memory each app takes up. Also, you can delete some pre-loaded Apple apps if you update to iOS 10.

Optimize iPhone photo storage: iPhones are many of our default cameras, which means it's easy to accrue a ton of photos on our devices. With the iCloud Photo Library turned on, you can ensure many of those moments are saved forever, but there is an unfortunate side effect: it downloads your entire photo library to your iPhone. This seems great until your start to run of storage space, but there is a simple solution. Go to Settings > Photos & Cameras > Optimize iPhone Storage to make your device only stores the latest you've taken or viewed. The rest of your library is still there, but in a much smaller thumbnail size, which will increase your storage.