Memory usage analysis method, device and system of mobile terminal
A mobile terminal, memory occupation technology, applied in the field of communication, can solve the problem of not providing system process memory analysis, unable to locate memory occupation well, etc., to achieve the effect of improving performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] This embodiment will be described from the perspective of the memory usage analysis device of the mobile terminal. The memory usage analysis device of the mobile terminal can be integrated in the mobile terminal, and the mobile terminal can include a smart phone, a tablet computer, an e-book reader, a dynamic Image experts compress standard audio layer 3 (Moving Picture Experts Group Audio Layer III, MP3) player or moving picture experts compress standard audio layer 4 (Moving Picture Experts Group Audio Layer IV, MP4) player, etc.
[0029] A method for analyzing memory usage of a mobile terminal, comprising: obtaining a first memory mapping snapshot of an application process in the mobile terminal, wherein the first memory mapping snapshot includes mapping content and actual used physical memory (PSS, Proportional Set Size) value; obtain the corresponding PSS value from the first memory map snapshot respectively according to the mapping content, accumulate the PSS value...
Embodiment 2
[0058] On the basis of the memory occupation analysis method of the mobile terminal provided in Embodiment 1, multiple memory mapping snapshots can also be obtained, and these memory mapping snapshots can be compared, for example, the previous memory mapping snapshot can be subtracted from the latter memory mapping snapshot The PSS value corresponding to the same mapping content in the snapshot is used to calculate the difference, so as to analyze the change of memory usage. that is, figure 2 As shown, in addition to executing steps 101-103, the method for analyzing memory usage of the mobile terminal may further include the following steps:
[0059] 201. Acquire another memory-mapped snapshot of an application process in a mobile terminal. For convenience of description, in this embodiment, the acquired memory-mapped snapshot is called a second memory-mapped snapshot.
[0060] Wherein, the method of obtaining the second memory-mapped snapshot is the same as obtaining the fi...
Embodiment 3
[0080] According to the methods described in Embodiments 1 and 2, examples will be given below for further detailed description.
[0081] In this embodiment, description will be made by taking the mobile terminal's memory usage analysis apparatus integrated in the mobile terminal as an example.
[0082] Such as image 3 As shown, a method for analyzing memory usage of a mobile terminal may be specifically as follows:
[0083] 301. The mobile terminal acquires a first memory-mapped snapshot of an application process in the mobile terminal, where the first memory-mapped snapshot may include information such as mapping content and a PSS value.
[0084] Wherein, there are many ways to obtain the first memory-mapped snapshot. For example, it can be obtained through the system's own command to view the memory image information of the process, such as the Linux system's own pmap command, and so on.
[0085] 302. The mobile terminal respectively acquires corresponding PSS values f...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com