Memory management method, device and equipment and readable storage medium
A memory management and memory technology, applied in the computer field, can solve the problems of inability to know the software memory requirements, too many memory divisions, etc., to achieve the effect of improving memory usage efficiency and accurately evaluating memory requirements
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] The first embodiment of the memory management method provided by the present application is introduced below, see figure 1, embodiment one includes:
[0051] S11. In the memory pool, allocate memory to the target module according to the reserved memory amount of the target module.
[0052] S12. During the operation of the target module, monitor the memory usage of the target module in real time.
[0053] S13. If the memory application request of the target module is received, judge whether the estimated memory usage of the target module exceeds the reserved memory according to the memory usage and the memory application request; if so, generate a memory alarm;
[0054] S14. When the frequency of the memory alarm exceeds the threshold, expand the memory capacity of the target module according to the amount of memory application.
[0055] Specifically, based on experience, this embodiment pre-sets a reserved memory amount for each module, and allocates memory of a corre...
Embodiment 2
[0070] see image 3 , embodiment two specifically includes:
[0071] S31. Generate a memory record file of the memory pool, where the memory record file is used to record the reserved memory amount of each module.
[0072] S32. Perform memory allocation on the target module according to the reserved memory amount of the target module in the memory record file.
[0073] S33. Set the monitoring frequency according to the platform performance, and monitor the memory usage of the target module in real time according to the monitoring frequency during the operation of the target module.
[0074] S34. Detect whether a memory application request is received, if so, go to S35, otherwise go to S37.
[0075] S35. According to the memory usage and the memory application request, determine whether the estimated memory usage of the target module exceeds the reserved memory, wherein the estimated memory usage is equal to the memory usage in the memory usage and the memory application in t...
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