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

Memory space management method and system

A memory space and management method technology, applied in the direction of memory address/allocation/relocation, etc., can solve the problem of frequent memory block allocation of the memory controller, and achieve the effect of improving usage efficiency and reducing frequency

Active Publication Date: 2014-09-03
上海众源网络有限公司
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing memory management scheme allocates a memory block for each function variable, causing the memory controller to frequently allocate memory blocks

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 space management method and system
  • Memory space management method and system
  • Memory space management method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0045] Such as figure 1 As shown, a memory space management method provided by an embodiment of the present invention may include:

[0046] S100. Determine the size of the memory space required by the function variable;

[0047] S200. Search the memory outside the recovery stack for a free interval whose size is larger than the required memory space;

[0048] The recovery stack resides in the conventional RAM (Random Access Memory) area, and functions can ob...

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 embodiment of the invention provides a memory space management method and a memory space management system. A leisure interval found in a memory outside a recycling stack is distributed to a function variable so that a memory block in the recycling stack does not need to be recycled and the frequency of distributing the memory block is reduced. Meanwhile, the distributed leisure interval is a part which is not used by other function variables in the memory block, so that the utilization efficiency of the memory space can also be effectively improved. The memory space management method is used for distributing the part which is as large as the memory space needed by the function variable to the function variable, so that the part which is not used by the function variable is still used as the leisure interval for the other function variables. The memory space management method is used for distributing the most suitable leisure interval to the function variable, so that the utilization efficiency of the memory is improved.

Description

technical field [0001] The invention relates to the technical field of memory management, in particular to a memory space management method and system. Background technique [0002] Memory (Memory), also known as internal memory, is one of the most important components in a computer. The internal memory is used to temporarily store computing data in the CPU and data exchanged with external storage such as hard disks. All programs in the computer run in the memory, so the performance of the memory has a great impact on the computer. [0003] The stack is a continuous memory area. The memory controller can allocate memory blocks in the stack for function variables, and the stack can also reclaim unused memory blocks, so the stack is also called a recycling stack. The existing memory management scheme allocates a memory block for each function variable, causing the memory controller to frequently allocate memory blocks. Contents of the invention [0004] The purpose of the...

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): G06F12/02G06F12/06
Inventor 唐黄平卢茂强
Owner 上海众源网络有限公司