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
CN112214329APending Publication Date: 2021-01-12TENCENT TECH SHANGHAI

Patent Information

Authority / Receiving Office
CN Β· China
Current Assignee / Owner
TENCENT TECH SHANGHAI
Publication Date
2021-01-12

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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