Skip to main content

Android Disk Usage

Measures the amount of data the app reads and writes (in MB) to the device’s disk during a session.

How does it impact user experience

Excessive disk write operations can negatively impact a user’s experience by slowing down the app’s performance and causing disk write exceptions. It is crucial to reduce disk writes to improve the app’s responsiveness and minimize wear on the device’s storage.

Threshold Guidelines

Recommended thresholds are :

  • Total Disk Reads (MB) <100 MB in a session
  • Total Disk Writes (MB) < 20 MB in a session

How to improve Disk Usage

Following are the recommendations to improve Disk Usage :

  • Use a lightweight database like SQLite for frequently changing data.
  • Implement caching for frequently accessed files using libraries like LruCache or DiskLruCache.
  • Use background processes for disk I/O operations to avoid impacting the user experience.
  • Optimize file access through async I/O operations, sequential access of files, and avoiding unnecessary file access.
  • Compress files such as images, videos, and audio using gzip to minimize file size.

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