Memory management method, device and equipment and computer readable storage medium

A memory management and memory technology, applied in the computer field, can solve the problem of high memory usage

Pending Publication Date: 2021-01-12
TENCENT TECH SHANGHAI
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In related technologies, shared memory is usually implemented by pre-allocating a fixed shared memory pool. Since this method needs to pre-allocate a large...

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 computer readable storage medium
  • Memory management method, device and equipment and computer readable storage medium
  • Memory management method, device and equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the purpose, technical solutions and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings. All other embodiments obtained under the premise of creative labor belong to the scope of protection of this application.

[0044] In the following description, references to "some embodiments" describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict.

[0045] If there is a similar description of "first / second" in the application documents, add the following explanation. In the following description, the terms "first\second\third" are only used to distinguish similar objects and do not mean Regarding the specific ordering of objects, it can be understood that "first\second\third" can be interchanged with specific or...

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 provides a memory management method, device and equipment and a computer readable storage medium. The method comprises the steps of obtaining a to-be-allocated shared memory type of a process request; acquiring a management area address of a shared memory pool corresponding to the to-be-allocated shared memory type from a shared memory chip pre-created in a memory; acquiring memory page configuration information of the shared memory pool from the shared memory chip according to the management area address; and dynamically allocating a shared memory unit for the process from the memory according to the memory page configuration information. According to the invention, the size of the shared memory pool can be zoomed according to actual requirements, so that the memory utilization rate can be improved, and the memory use requirements in actual services can be better met.

Description

technical field [0001] The present application relates to computer technology, and in particular to a memory management method, device, equipment and computer-readable storage medium. Background technique [0002] Shared memory is a communication method between multiple processes in an operating system such as a Unix system. This method is usually used for multi-process communication of a program, or information transfer between multiple programs. In addition, shared memory is often used to save the memory state of a process. Since the life cycle of shared memory depends on the runtime of the system, it is independent of the process life cycle. Therefore, this feature can be used to improve the availability and reliability of process memory data through shared memory. In related technologies, shared memory is usually implemented by pre-allocating a fixed shared memory pool. Since this method needs to pre-allocate a large memory slice, the memory usage will be too high, and...

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/50
CPCG06F9/5016
Inventor 葛亚骏
Owner TENCENT TECH SHANGHAI
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