Skip to main content

iOS Memory Usage

The Memory Usage metric measures the average and peak memory footprint (in MB) of the app in a session.

Impact on user experience

Excessive memory usage by an app can lead to sluggish performance, frozen screens, and app crashes, which can negatively impact the user experience. It’s essential to optimise memory usage to ensure smooth app performance and avoid user frustration.

Threshold guidelines

Recommended threshold for memory usage is < 250 MB in a session.

Recommendations

The following are the recommendations to improve Memory Usage:

  • Optimize image usage: Use images that are the appropriate size for their intended use, and use image formats that are efficient, such as JPEG or PNG.
  • Minimize use of storyboards: Use code to create your app’s user interface instead of relying on storyboards, which can increase memory usage.
  • Use **Automatic Reference Count (ARC)**: Use ARC to manage your app’s memory usage automatically, reducing the risk of memory leaks.
  • Implement data caching: Implement caching to reduce the amount of memory used by storing frequently accessed data, such as images, in memory for faster access.
  • Use instruments: Use Xcode’s Instruments tool to identify and analyze memory usage in your app, allowing you to optimize memory usage and identify any potential memory leaks.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback!

Talk to an Expert
Download Copy