Method and device for detecting memory leakage of mobile terminal
A technology for memory leaks and mobile terminals, which is applied in the field of detecting memory leaks in mobile terminals, can solve problems such as inapplicability to mobile terminals, multiple system resources, and complex tools, and achieve the effect of uncomplicated implementation methods.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0031] The embodiment of the present invention provides a method for detecting memory leaks applied to a mobile terminal. When the application program is running, if the application program performs a memory allocation operation, record the relevant information of the allocated memory in the record table; if After the memory release operation is performed, the relevant information corresponding to the released memory is deleted from the record table. In this way, the situation of the memory leak can be judged by detecting the relevant information of the memory that has not been deleted in the record table. Moreover, in the method of the embodiment of the present invention, the dynamic memory allocation macro (such as mallco macro) with the function of recording the relevant information of the allocated memory into the record table is defined in the header file, and the memory corresponding to the memory to be released Related information The dynamic memory release macro (such ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
