Memory management method, device and electronic device

A memory management and memory technology, applied in the field of memory management, can solve problems such as low memory processing efficiency, avoid program crashes, avoid the influence of human factors, and improve efficiency

Active Publication Date: 2019-02-15
SUZHOU KEDA TECH +2
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the embodiment of the present invention provides a memory management method, device and electronic equipment to solve the problem of low processing efficiency for memory problems

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 electronic device
  • Memory management method, device and electronic device
  • Memory management method, device and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

[0062] According to an embodiment of the present invention, an embodiment of a memory management method is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although A logical order is shown in the flowcharts, but in some...

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, a device and an electronic device. the method comprises the following steps: Allocating a first memory space based on the request and requesting a second memory space; Wherein the second memory space is used for storing the size of the first memory space, at least one of the number of references of the first memory space; Associating the first memory space with the second memory space and recording the associating space into a preset associating container; Acquiring a memory operation instruction based on the first memory space; Processing memory manipulation instructions with associated containers. Storing the performance parameters of the first memory space through the additional requested second memory space, When the first memory space is subsequently used for operation, the stored performance parameters can be used for judging whether the pointer referencing the first memory space is null or not, whether the pointer is out of bounds, and the like, so that the memory problem can be solved objectively, the influence of human factors can be avoided, and the memory problem processing efficiency can be improved.

Description

technical field [0001] The invention relates to the technical field of memory management, in particular to a memory management method, device and electronic equipment. Background technique [0002] In the process of software program development, the problem that is most likely to appear, the most difficult to find, and the most difficult to solve is the memory problem, which mainly involves two aspects: memory out of bounds and null pointer. [0003] Among them, for memory out of bounds, it means that the program has applied for a block of memory from the system, and when using this memory, it exceeds the scope of the application. For example, if you apply for a space of 100 bytes, but write 120 bytes for some reason, this is a memory access out of bounds. The consequence of memory access out of bounds is: your write destroys the space that does not belong to you. And the memory out of bounds usually leads to the following consequences: (1) destroying the memory allocation...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50
CPCG06F9/5016
Inventor 王飞飞芮义根许世林
Owner SUZHOU KEDA TECH
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