Unlock instant, AI-driven research and patent intelligence for your innovation.

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

A memory management and memory technology, which is applied in computing, multi-programming devices, program control design, etc., can solve the problems that the memory allocation method cannot support multi-frame parallel computing, destroying the running memory environment, and memory management instability, etc. The effect of reducing impact, fast error reporting and positioning, and improving stability

Pending Publication Date: 2022-03-08
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the memory allocation method of the related art is applied to multi-frame parallel calculations, since other frames may still be running calculations at the end of one frame calculation, at this time, resetting the allocation starting point and continuing to allocate memory will destroy the running memory of other frames environment, therefore, the memory allocation method of related technologies cannot support multi-frame parallel computing, thereby reducing the efficiency of program operation and increasing the risk of memory management instability

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] 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.

[0042] 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.

[0043]In the following description, the term "first\second\third" is only used to distinguish similar objects, and does not represent a specific ordering of objects. Understandably, "first\second\third" Where permitted, the specific order or sequencing may be interchanged such that the embodiments of the application described herein can be practiced in sequences othe...

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 and device, equipment, a computer program and a storage medium. The method comprises the following steps: determining a current frame memory allocator corresponding to a current frame from preset M frame memory allocators according to a frame calculation task corresponding to the current frame; the M frame memory distributors are memory distributors which are circularly used by taking frames as units; m is a positive integer greater than or equal to 2; obtaining a target memory block corresponding to the current frame from M memory block lists of a preset memory pool through a current frame memory allocator; the M memory block lists are in one-to-one correspondence with the M frame memory distributors; the address spaces among the M memory block lists are not overlapped; and acquiring memory resources from the target memory block and allocating the memory resources to the frame calculation task. Through the method and the device, the program running efficiency and the memory management stability can be improved.

Description

technical field [0001] The present application relates to computer technology for frame-by-frame calculations, and in particular to a memory management method, device, equipment, computer program and storage medium. Background technique [0002] At present, interactive rendering applications or services involving frame calculation, such as games or video interactive applications, usually use a linear memory allocator to linearly allocate memory for each frame calculation program in the memory block list when performing memory management. Reset the allocation starting point of the memory block list after the calculation of one frame, and continue the memory allocation of the next frame. However, when the memory allocation method of the related art is applied to multi-frame parallel calculations, since other frames may still be running calculations at the end of one frame calculation, at this time, resetting the allocation starting point and continuing to allocate memory will ...

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/5016G06F2209/5011
Inventor 孙凌峰万园
Owner TENCENT TECH (SHENZHEN) CO LTD