Check patentability & draft patents in minutes with Patsnap Eureka AI!

A safe and fast computer memory management method and device

A memory management and computer technology, applied in computing, memory address/allocation/relocation, memory system, etc.

Inactive Publication Date: 2018-12-07
上海梁维贸易有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a safe and fast computer memory management method and device, which solves the technical problems of header protection of memory fragments and reasonable recovery of memory fragments in the prior art

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
  • A safe and fast computer memory management method and device
  • A safe and fast computer memory management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0024] A safe and fast method of computer memory management. Such as figure 1 shown, including the following steps:

[0025] S101: Obtain a size array whose memory size changes regularly obtained by setting the minimum value of the memory size and the memory granularity.

[0026] During the running of the program, many indicators and coefficients are changing according to certain rules. Similarly, the generation of memory fragmentation is also regular. And...

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 safe and fast computer memory management method and device, which comprises the following steps: obtaining a memory size array with regular variation obtained by setting a minimum value of a memory size and a memory granularity; putting the memory defragmentation in the size array to be recovered into a specific delay recovery queue; traversing memory fragments in the delay recovery queue according to a memory allocation request; if there is no memory fragment in the delay recovery queue that meets the memory allocation request, counting the memory fragment that has been traversed but not used, and when the number of unused times reaches a preset threshold, recovering the memory fragment for processing. The method and the device of the invention can protect the memory fragment header to the maximum extent and reduce the occurrence of splitting and merging, thereby increasing the stability of the memory allocation.

Description

technical field [0001] The invention belongs to the technical field of memory data processing, and in particular relates to a safe and fast computer memory management method and device. Background technique [0002] Memory management is to divide one or more single plane memories or multiple plane memories into many fragments in a way similar to array cutting. And these fragments all have a special part-the header, if this header is lost or destroyed, it will cause very serious system errors. However, due to the problem of excessive system memory overhead, the current memory management system does not protect it. In addition, due to unreasonable memory management, memory errors will occur during system operation, which will greatly increase the resource overhead of the hardware system, and then cause the illusion of insufficient memory. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a safe and fast computer me...

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
CPCG06F12/0253
Inventor 马佶
Owner 上海梁维贸易有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More