Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Memory allocation management method and memory allocation management system

A technology of memory allocation and management methods, applied in the field of memory allocation management methods and systems, can solve problems such as system problems, memory fragmentation, and system instability, and achieve the effect of improving memory utilization.

Inactive Publication Date: 2016-02-03
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF8 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in practical applications, for the above two memory allocation methods, when the memory allocation management system frequently applies for and releases memory during the running of the application program, the prior art method of allocating and releasing memory through system calls is prone to memory loss. Fragmentation, which leads to low memory utilization. If it runs for a long time, it will lead to system instability, and the longer the running time, the more prone to problems the system will have, and even slower and slower

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 allocation management method and memory allocation management system
  • Memory allocation management method and memory allocation management system
  • Memory allocation management method and memory allocation management system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0047] The core of the present invention is to provide a memory allocation management method and system to reasonably manage memory fragments generated in the process of memory allocation, thereby improving memory utilization.

[0048] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific em...

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 allocation management method and a memory allocation management system. The method comprises the following steps: receiving the memory allocation request carried with memory size from an application program; seeking a memory block chain table with node memory size adaptive to needed memory size in a memory block chain table set aiming at the application program; in the sought memory block chain table, when the residual memory size of the node memory relative to the needed memory size is not lower than the preset lower limiting value of the node memory, allocating the memory equal to the needed memory in the node memory of one memory block to the application program, and classifying the residual memory into the target memory block chain table. According to the invention, the residual memory is classified into the target memory block chain table in which the node memory size is equal to the residual memory size, so that the memory fragments generated in the memory allocation process can be reasonably managed, and the memory utilization rate can be effectively increased.

Description

technical field [0001] The invention relates to the technical field of computer memory management, in particular to a memory allocation management method and system. Background technique [0002] As we all know, during the running process of an application program, it usually needs to allocate memory when it needs memory. Specifically, memory allocation refers to a method of allocating or reclaiming storage space during program execution. Common memory allocation methods include static memory allocation and dynamic memory allocation. The so-called dynamic memory allocation (DynamicMemoryAllocation) refers to the method of dynamically allocating or reclaiming storage space in the process of program execution. Dynamic memory allocation does not need to pre-allocate storage space like static memory allocation methods such as arrays, but is allocated by the system in real time according to the needs of the program, and the allocated size is the size required by the program. ...

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): G06F12/02
Inventor 刘树亮
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products