Dynamic memory releasing method

A dynamic memory, dynamic technology, applied in the direction of memory address/allocation/relocation, resource allocation, multi-program installation, etc., can solve the problems of inability to delete memory fragments, inability to identify memory allocation, and increase in equipment costs, and to reduce The device restart probability and the effect of improving memory usage efficiency

Inactive Publication Date: 2014-04-23
OPZOON TECH
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, for cloud computing servers that are online for a long time, it is very important to clean up and recycle temporary memory in time. When users go online and offline, memory fragments will be generated, and these memory fragments cannot be deleted.
This is because, when allocating memory, the system cannot identify which user the memory is allocated to, so when the user goes offline, it can only release the user's fixed resources, and because it cannot be determined which user operated, the file The temporary resource of could not be freed
Although these temporary fragments are very small, if accumulated for a long time, it will lead to more and more memory occupied by temporary data, and even cause the device to alarm after the memory is used up.
[0003] In the prior art, in view of the above problems, since the size of memory fragments is very small, the continuous increase of fragments cannot be controlled, so the problem can only be avoided by restarting the device, or using two servers for switching maintenance, which will cause users to purchase Increased cost of equipment
No matter which solution, it does not substantially solve the problem of cleaning and recycling the temporary memory of the device

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
  • Dynamic memory releasing method
  • Dynamic memory releasing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in combination with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are exemplary only, and are not intended to limit the scope of the present invention. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concept of the present invention.

[0016] figure 1 It shows a schematic diagram of the principle of the dynamic memory release method in the prior art of the present invention.

[0017] When a user logs in to a virtual device such as cloud computing, the cloud computing server device will first automatically record and register the user's login time and other information, and then allocate corresponding memory space to the user to realize the physical iso...

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 dynamic memory releasing method used for dynamically releasing memory used in a temporary file generated when a user logs in to a server. The dynamic memory releasing method comprises the step of recording the user log-in time, namely, the time when the user logs in to the server is recorded; the step of allocating memory space, namely, the memory space is allocated for the log-in user; the step of generating the temporary file, namely, the corresponding temporary file is generated when the user operates the file; the step of recording the temporary file generating time, namely, the generating time of the temporary file when the user logs out the server is recorded; the step of comparing the generating time of the temporary file, namely, the generating time of the temporary file and the time when all current on-line users log in to the server are compared; the step of releasing the memory space of the temporary file, namely, when the generating time of the temporary time is earlier than the log-in time of all the current on-line users, the memory space of the temporary file is released. By means of the method, the memory space of the temporary file generated when the users log out the server can be dynamically and accurately released, and the memory using rate is greatly improved.

Description

technical field [0001] The invention relates to a dynamic memory release method, in particular to a dynamic memory release method in a cloud computing server. Background technique [0002] As we all know, virtual devices such as cloud computing are more prone to memory fragmentation than traditional personal computers. The reason is that during the process of multiple users logging in to the device, a temporary dynamic user login space will be generated for each user, and a corresponding temporary resource area will be allocated to each user. When the user logs out, the data will be classified again. Organize and write temporary data to permanent hard disk for preservation. Therefore, for cloud computing servers that are online for a long time, it is very important to clean up and recycle temporary memory in time. When users go online and offline, memory fragments will be generated, and these memory fragments cannot be deleted. This is because when allocating memory, the s...

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/08G06F9/50G06F12/02
Inventor 康暖
Owner OPZOON 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