Embedded software memory management system

An embedded software and memory management technology, applied in memory systems, memory address/allocation/relocation, electrical digital data processing, etc. The effect of avoiding memory leaks

Active Publication Date: 2018-06-08
TIANJIN JINHANG COMP TECH RES INST
View PDF11 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional memory pool management mechanism can only allocate memory blocks of fixed size, which has poor flexibility; although other memory pool management methods can realize dynamic allocation of memory blocks, t

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
  • Embedded software memory management system
  • Embedded software memory management system
  • Embedded software memory management system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the purpose, content, and advantages of the present invention clearer, the specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0024] In order to improve the utilization rate of embedded system memory, effectively solve the problems of memory fragmentation and memory leakage, and realize fast allocation and release of memory, the present invention proposes an embedded software memory management system. The system adopts a static allocation method, pre-sets the number of partitions in the system memory area and the number and size of memory blocks in each partition, and then adopts a dynamic memory allocation method for the user memory area based on the pool memory management mechanism. The memory allocator handles memory application and release requests, and improves the traditional dynamic memory allocation and release algorithms. The system ...

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 relates to an embedded software memory management system, and relates to the technical field of embedded software memory management. According to the system, a static allocation method is adopted, the number of partitions in a system memory area and the number and size of memory blocks in each partition are preset, a dynamic memory allocation method is adopted on the memory area of auser based on a pool type memory management mechanism, memory requests and release requests are processed by creating a memory allocator, and traditional dynamic memory allocation and a release algorithm are improved. According to the system, flexibility of the system is enhanced by adopting a combined method of statically allocating the system memory area and dynamically allocating the system memory area, meanwhile generation of a large number of fragments is limited to prevent the occurrence of memory leaks, and the method can effectively reduce time consumption of requesting and memory releasing, so that management efficiency of dynamic memory is improved.

Description

technical field [0001] The invention relates to the technical field of embedded software memory management, in particular to an embedded software memory management system. Background technique [0002] Due to the real-time, flexibility and stability requirements of embedded systems, there are special strategies for memory management. Good program performance partly depends on its effective memory management capabilities, while the performance of conventional heap memory managers will be affected by memory fragmentation and memory recovery requirements, especially in application environments where memory is frequently allocated and released, it is more likely to become bottleneck in system performance. Not only that, but a potential memory leak could exhaust a long-running system's memory, causing a drastic drop in system performance and eventually crashing. In order to solve the problems of memory fragmentation in the heap brought about by the embedded system during memory...

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
IPC IPC(8): G06F9/50G06F12/02
CPCG06F9/5016G06F12/023G06F2209/5011
Inventor 赵昶宇林海
Owner TIANJIN JINHANG COMP TECH RES INST
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