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

Inactive Publication Date: 2021-11-05
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of this application is to provide a memory management method, device, equipment and readable storage medium to solve the problem of too much or too little memory division due to the inability to know the memory demand of the software in the current memory management scheme

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory management method, device and equipment and readable storage medium
  • Memory management method, device and equipment and readable storage medium
  • Memory management method, device and equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a memory management method, which can allocate a memory for a module in advance, avoid the defects caused by dynamic memory application, can monitor the memory use condition and the memory application request of the module in real time after the memory is allocated for the module, and can generate a memory alarm when the memory demand of the module exceeds the memory amount allocated in advance, and perform memory expansion on the module when the frequency of the memory alarm is relatively high. The purpose of accurately evaluating the memory requirement of the module is achieved, the problem that the software performance cannot be fully exerted due to the fact that too little memory is distributed to the module is avoided, and the memory use efficiency is improved. In addition, the invention further provides a memory management device and equipment and a readable storage medium, and the technical effects of the memory management device and equipment correspond to the technical effects of the method.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a memory management method, device, equipment and readable storage medium. Background technique [0002] Memory is crucial to software operation. Memory determines whether software can run normally and also determines software performance. Generally, there are memory management functions in the Linux operating system or some small real-time operating systems. However, these memory managements are basically the management of dynamic memory. In practical applications, there will be many uncertainties when using dynamic memory, such as specific scenarios. Increased memory leads to downtime, used memory is not released, resulting in less and less available memory, etc. Therefore, the development of some large-scale software is prohibited from using dynamic memory, and some can use dynamic memory, but the application for dynamic memory is also limited to Do it in the memo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50G06F11/30
CPCG06F9/5016G06F11/3034
Inventor 张增伟
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products