Android memory knowledge popularization-complaints from students with high moji memory

Source: Internet
Author: User

Http://forum.mojichina.com/viewthread.php? Tid = 175603 & extra = Page % 3d1

1. Currently, moji runs normally at 25 m, and the model with children's shoes is at 40 m. I saw my moji on Samsung Galaxy Note reached 70 m.
2. Then everyone complained that moji's memory usage was too large. How can a software occupy so much? Look at Sina, and Sohu only occupies 5-6 m.
3. Poor Landlord My version vowed to greatly optimize the memory of this version. Unfortunately, the memory was still 20 mb, so all sorts of tears left me naked.
4. But I have been observing Sina Weibo. I only rely on 5-6 m in this function. Sina is really strong. But once I accidentally discovered the cause of its small memory, the old buddy started two processes, one of which is com. sina. weibo. servant. one is com. sina. weibo. we can only see the 5-6 M process in the 360 memory cleanup, And the other process is about 20 m in use, and the image size will be larger. But when we exit the program, Sina Weibo will kill COM. sina. weibo process, so only COM. sina. weibo. servant process, this is the secret of Sina Weibo's small memory size. Then, you will ask why moji.com is not doing this. Don't worry. Continue.

===== Gorgeous split line ====
I found two articles on memory from the Internet. The original Article address is. For more information about patience, see:
1. http://www.cnbeta.com/articles/151415.htm
2. http://bbs.ptbus.com/thread-190016-1-2.html

For lazy kids shoes, see the following summary:
1. After you use an app in Android, even if you exit the app, the app's memory will not be recycled immediately, and it will be cached all the time. Here someone raises his hand: then I keep opening the application and the memory will not burst. Now it's important: When the Android system opens a new application, it first checks whether the application cache exists. If not, it checks whether there is enough memory. If not, he began to wave his sledgehammer to clean up the cache (of course, there will be a certain order of cleaning, this is not a professional), free up space for new software.
2. Everyone has a misunderstanding that when the memory is too large, the machine slows down. On the contrary, the cache of the Android system is cached just for you to restore the software you used faster, sometimes we can see that 360 indicates that our memory has reached 80%. Then, when we enter a software system, we will feel like Kaka. After we enter it, it's better that the system is waving a large knife and cutting the process to increase the memory for you, the conclusion is: you do not need to use 360 to clean up the process for a good word. The system will do this for you. You can do a few experiments: Open the ink marks, press twice to return (the home key software only exits to the background but does not end), exit the ink marks, and re-enter. In the second case, use 360 to kill the ink process, open the ink, and see the speed at which the ink enters the two cases.
3. Verify the first method. You can try to open multiple software. I do. Open moji, open the blank finger, and run the moji to 30 m, if the blank finger is about 10 MB, I will open the angry bird again. The bird size is about 80 mb. After you go home, check the running task or 360. The moji memory will drop to around 7-8 Mb, or it is cleared directly.
Figure 1:

Download(56.11 KB) 3 days ago

After opening other software (not cleaned up ):

Download(52.8 KB) 3 days ago

4. Based on the above situation, some ink plug-ins do not take time after the game exits. This is because the system has directly cleaned up the ink marks to increase the memory, the plug-in requires the Service to provide the event Update time.
5. Of course, it is our goal to reduce the memory usage of moji.com. We also hope that you can understand the Android system mechanism, and hope that everyone can become the Android system's dashboard. At the same time, we also love moji.com.

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.