Memory management method for application program

A memory management and application technology, applied in the field of memory management, can solve frequent memory allocation and release problems, achieve the effect of improving time efficiency and real-time response capability, reducing additional overhead, and reducing memory requirements

Inactive Publication Date: 2008-04-30
UTSTARCOM TELECOM CO LTD
View PDF0 Cites 37 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the typesetting process, as the context changes, these types of rectangular data structures will be frequently allocated and released. For example, when inserting a picture into a web pag

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 for application program
  • Memory management method for application program
  • Memory management method for application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the invention are illustrated.

[0029] The present invention is an application-level memory management solution, which provides two sets of memory management mechanisms, which are:

[0030] Use pooled memory management (Pooled Memory Management) to manage the allocation and release of fixed-size data structures, and use the garbage collection mechanism to reclaim its memory fragments;

[0031] The vector method is used to manage the allocation and release of variable-sized data structures, such as strings, and the compression mechanism is used to reclaim its memory fragments.

[0032] Describe in detail below in conjunction with specific embodiment:

[0033] Application browser memory management is a method of reorganizing memory on an allocated memory, and it does not involve the memory management of the operating system.

[0...

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 at application program level, including the management of the memory space of a fixed-size data structure and a variable-size data structure. The management method comprises managing the allocation and the release of the memory space of the fixed-size data structure in a pool-type memory management mode, and recovering memory fragments generated during the allocation and the release processes of the memory space of the fixed-size data structure by using a garbage collection mechanism; managing the allocation and the release of the memory space of the variable-size data structure in a vector mode, and recovering memory fragments generated during the allocation and the release processes of the memory space of the fixed-size data structure by using a compression mechanism. The invention improves the management efficiency of the memory allocation and release without causing system to halt due to depletion of the system memory, and is more efficient than the memory management of a system.

Description

technical field [0001] The invention relates to memory management technology, in particular to an application-level memory management method. Background technique [0002] In an embedded system, since the total available memory is relatively small, the normal operation of the browser (browser) requires relatively large memory and frequent memory allocation and release. A text field, various forms (Form) and various pictures, etc., are represented by several rectangular data structures (box). During the typesetting process, as the context changes, these types of rectangular data structures will be frequently allocated and released. For example, when inserting a picture into a web page, the web page will release and regenerate the rectangular data structure in a local area, from From a memory management perspective, this leads to frequent memory allocations and deallocations. In order to ensure the normal operation of the browser and reduce internal fragmentation, it is nece...

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): G06F12/02
Inventor 费华东胡世炜
Owner UTSTARCOM TELECOM 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