The core solution to prevent multi-graph oom is to use lrucache technology.

Source: Internet
Author: User

The core solution to prevent multi-graph oom is to use lrucache technology. However, lrucache only manages the storage and release of images in the memory. If an image is removed from the memory, it needs to be reloaded from the network. This is obviously time-consuming. In this regard, Google provides a hard disk cache solution: disklrucache (not officially written by Google, but officially certified ). Unfortunately, the android doc does not provide a detailed description of disklrucache usage, and there is little information about disklrucache on the Internet, so today I want to write a special blog to explain in detail the usage of disklrucache and analyze its working principles. This should be the most detailed information about disklrucache on the Internet.

Let's take a look at which applications have used the disklrucache technology. In my applications, Dropbox, Twitter, Netease news and so on all use disklrucache for hard disk caching. Most people in Dropbox and Twitter should have never used it, so let's start with the most familiar Netease news to have an initial understanding of disklrucache.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.