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

Method and device for adjusting memory

A memory and memory release technology, applied in the field of memory adjustment, can solve problems such as reducing the efficiency of machine memory usage, wasting machine memory resources, and poor user experience.

Active Publication Date: 2011-01-19
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The memory allocation method of on-demand allocation, multiple software programs run in the client machine at the same time, if the software program runs in the client machine and occupies a large amount of machine memory according to the required memory, the available memory in the machine is very small , the processing speed will be greatly reduced, making the user experience very poor; if the software program runs on the client machine and occupies a small amount of machine memory space on demand, the available memory in the machine will be large, and the machine memory resources will be wasted in vain , reducing the efficiency of machine memory usage

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
  • Method and device for adjusting memory
  • Method and device for adjusting memory
  • Method and device for adjusting memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] In order to improve the memory usage efficiency of the client machine and the user experience, the embodiment of the present invention provides a method for adjusting the memory, see figure 1 , the method includes:

[0057] 101: Obtain the initial occupied memory;

[0058] 102: According to the initial occupied memory, occupy the memory of the client machine;

[0059] 103: Detect the available memory of the current client machine;

[0060] 104: If the detected available memory is less than the available memory threshold of the client machine, release part of the initially occupied memory to the client machine;

[0061] 105: If the detected available memory is greater than or equal to the available memory threshold of the client machine, occupy the remaining available memory in the client machine.

[0062] Among them, if the detected available memory is less than the available memory threshold of the client machine, then release part of the memory initially occupied b...

Embodiment 2

[0077] In order to improve the usage efficiency of the memory of the client machine and the experience of the user, the embodiment of the present invention provides a method for adjusting the memory, by adaptively adjusting the size of the running program through the software program itself, so that the memory of the client machine can be used reasonably. Wherein, in the embodiment of the present invention, P2P software is taken as an example, see figure 2 , the specific workflow diagram is as follows:

[0078] 201: The client machine is started, and the P2P software program is started in the client machine;

[0079] Wherein, after the client machine is started, when the P2P software program is started in the client machine, there are generally multiple software programs running in the client machine at the same time, which jointly occupy the memory of the client machine;

[0080] When the P2P software starts running on the client machine, it can be set to occupy the machine...

Embodiment 3

[0116] The embodiment of the present invention also provides a device for adjusting memory, see image 3 , the device consists of:

[0117] An acquisition module 301, configured to acquire the initially occupied memory;

[0118] The allocation module 302 is configured to occupy the memory of the client machine according to the initial occupied memory acquired by the acquisition module 301;

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 method and a device for adjusting memory, belonging to the communication computer field. The method comprises the following steps: acquiring initial used memory; according tothe initial used memory, using the memory of a client computer; detecting the available memory of the current client computer, if the detected available memory is less than the threshold of the available memory of the client computer, releasing part of the initial used memory to the client computer, if the detected available memory is more than the threshold of the available memory of the clientcomputer, using residual available memory in the client computer. The device comprises an acquisition module, a distribution module, a detection module, a release module and a use module. By periodically detecting the usage condition of the memory in the client computer, dynamically adjusting the memory used by software in the client computer and reasonably using the memory of the client computer,the running speed of the client computer is accelerated and the use experiences of the users are improved.

Description

technical field [0001] The invention relates to the field of communication computers, in particular to a method and device for adjusting memory. Background technique [0002] With the development of communication technology, the running program of the software is getting larger and larger, and the memory usage of the client machine is also increasing. Although the physical memory of the client machine is increasing continuously, the memory is still very important for the client machine. hardware resources. [0003] Machine memory is an important hardware resource on the client machine, whether it is used reasonably or not directly determines the user experience and memory efficiency, especially for some software with relatively large data exchange, such as P2P (Peer to Peer, peer-to-peer) software. Since P2P software needs to continuously download data from other client machines and upload data to other client machines continuously, there is a large amount of data sharing, ...

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 Patents(China)
IPC IPC(8): G06F9/50G06F12/00
Inventor 华有为
Owner TENCENT TECH (SHENZHEN) CO LTD