Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Memory allocation processing method and device

A technology of memory allocation and processing method, applied in the field of memory management, can solve the problems of generating memory fragments, spending more time searching, and low server memory utilization, achieving the effect of reducing memory fragments and improving space utilization.

Inactive Publication Date: 2017-09-12
ADVANCED NEW TECH CO LTD
View PDF5 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the above memory allocation method, it is easy to generate memory fragments in the allocated free memory blocks, and the memory utilization rate is not high. Moreover, due to the frequent allocation of memory during the long connection communication process, the physical addresses of the free memory blocks are different. Continuous, the server needs to spend more time searching for available free memory blocks during the calling process, and the efficiency of memory allocation is not high
[0005] In the memory allocation processing method of long-connection communication in the prior art, when there are a large number of connection requests, the server needs to continuously consume resources for calculation, and it takes a lot of time to search for available free memory blocks, and it is easy to find in the allocated free memory blocks. Generate memory fragmentation, resulting in low server system memory utilization and low memory allocation efficiency

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 allocation processing method and device
  • Memory allocation processing method and device
  • Memory allocation processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0034] The method for processing memory allocation described in this application will be described in detail below with reference to the accompanying drawings. figure 1 It is a schematic diagram of a method flowchart of an embodiment of the method for processing memory allocation provided by the present application. Although the present ...

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 application discloses a memory allocation processing method and device. The method comprises the steps that memory application information is obtained, and whether or not the applied memory is less than the maximum allocable memory of the memory blocks in the established memory pool is judged; when it is determined that the memory application is greater than the maximum allocable memory, according to the recorded large block of memory information in the data header of the memory block, the memory is allocated from the large block of memory to the application memory; otherwise, whether or not the application memory is greater than the free memory of current memory block is judged, when it is determined that the application memory is less than the free memory of current memory block, whether or not the current remaining space of current memory block meets the needs for the application memory is judged; if the current remaining space of current memory block meets the demand by the application memory, the memory is allocated from the current remaining space of current block memory block to the application memory. By the method and device, the time spent for memory allocation can be reduced, the memory utilization rate of a system is increased, and memory allocation efficiency of the system is optimized.

Description

technical field [0001] The present application relates to the technical field of memory management, in particular to a memory allocation processing method and device. Background technique [0002] With the development of communication technology, people can realize the interactive transmission of data and information by establishing a network connection between the terminal and the server. Not only that, different terminals can also use the data transmission method for interactive communication, and people can obtain the required information through the Internet established by the above transmission method. [0003] Usually, in the Internet, when the communication parties have data interaction, a connection needs to be established, and after the data transmission is completed, the connection is disconnected, that is, each connection only completes the sending of one service, such a connection is called short connection. However, as far as different terminals are concerned,...

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/0871
CPCG06F12/0871
Inventor 欧阳圣
Owner ADVANCED NEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products