CN101833512A - Method and device thereof for reclaiming memory - Google Patents

Method and device thereof for reclaiming memory Download PDF

Info

Publication number
CN101833512A
CN101833512A CN201010153922A CN201010153922A CN101833512A CN 101833512 A CN101833512 A CN 101833512A CN 201010153922 A CN201010153922 A CN 201010153922A CN 201010153922 A CN201010153922 A CN 201010153922A CN 101833512 A CN101833512 A CN 101833512A
Authority
CN
China
Prior art keywords
memory
internal memory
threshold value
free
recycled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201010153922A
Other languages
Chinese (zh)
Inventor
韩盛中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201010153922A priority Critical patent/CN101833512A/en
Publication of CN101833512A publication Critical patent/CN101833512A/en
Priority to PCT/CN2011/070615 priority patent/WO2011131046A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0253Garbage collection, i.e. reclamation of unreferenced memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The invention discloses a method and a device for reclaiming a memory for improving the utilization rate and rationality of the memory and improving the running reliability of a system. The method comprises the following steps of: detecting an idle memory in the system and the load of a CPU; when the idle memory is lower than a set idle memory threshold value or/and the load is greater than the set load threshold value, determining that the memory needs to be reclaimed; and determining the memory to be reclaimed according to the using condition of file information cached in files of the system memory, and releasing the memory to be reclaimed. The technical scheme of the invention improves the utilization rate and rationality of the system memory resources, and improves the running reliability of the system.

Description

A kind of method for recovering internal storage and device thereof
Technical field
The present invention relates to computer application field, relate in particular to a kind of method for recovering internal storage and device thereof that is applied to (SuSE) Linux OS.
Background technology
In various operating systems, as (SuSE) Linux OS, owing to the speed of disk being carried out the reading and writing operation is slower, for accelerating that disk is carried out the speed that file reads or writes, operating system nucleus is buffered in bulk information in the internal memory of operating system in the operating process that disk is read or write; Though adopting this kind mode has accelerated disk is read, the speed of write operation, but in a lot of communication systems, because business demand, upper-layer service need be created a large amount of files, read, write, operations such as deletion, therefore, adopt this kind mode, the bulk information of file is buffered in the internal memory of operating system and can takies a large amount of memory headrooms, and, each application module in the operating system application layer needs the log file to follow the tracks of the running status of each application module, so that the O﹠M personnel occur carrying out malfunction elimination when unusual in system, this also can consume a large amount of memory headrooms.
At present, to file create, each application module log file in operation such as reading and writing, deletion and the application layer etc., the memory headroom that is consumed is mainly the internal memory among buffer cache (high-speed buffering of buffer storer) and the page cage (page or leaf cache memory); When the EMS memory occupation of buffer cache and page cage more for a long time, may cause the problem of system's low side low free memory when promptly free memory is lower than some threshold values.Therefore, in the time of can not in time being discharged if the internal memory of operating system is used for file cache in a large number, then may be in system's operational process because some application assigned may cause the operation of total system to take place unusually less than internal memory.
At present, for addressing the above problem, mainly contain following two kinds of processing modes:
(1) restarting operating systems is redistributed internal memory.Though adopt this kind mode to solve the problems referred to above to a certain extent, but the problem that it brings is, if current have some important application programs moving and can not restarting operating systems, if force the words of restarting operating systems may bring more serious consequence.
(2) will be cached in all or part of file delete in the internal memory, with releasing memory; Though this kind mode has solved the problems referred to above to a certain extent, the problem that it brings is that deleted file may be the current file that must keep, and can not delete, if adopt this kind mode that this document deletion may be lost more than gain.
Summary of the invention
The invention provides a kind of method for recovering internal storage and device thereof,, and improve reliability of system operation with the utilization factor and the rationality of raising system memory resource.
A kind of method for recovering internal storage comprises:
The free memory in the detection system and the load of central processor CPU;
When described free memory is lower than the free memory threshold value of setting or/and described load during greater than the load threshold set, determines to need to reclaim internal memory;
Be cached in the operating position of the file of Installed System Memory according to fileinfo, determine internal memory to be recycled, and discharge this internal memory to be recycled.
A kind of internal memory retracting device comprises internal memory detection module and system control module, wherein:
The internal memory detection module is used for the load of the free memory and the central processor CPU of detection system; And, be lower than the free memory threshold value of setting or/and described load during greater than the load threshold set, determines that needing to reclaim internal memory also starts described system control module at described free memory;
System control module is used for being cached in according to fileinfo the operating position of the file of Installed System Memory, determines internal memory to be recycled, and discharges this internal memory to be recycled.
In the embodiment of the invention, when internal memory reclaims, be cached in the operating position of the file of Installed System Memory according to fileinfo, determine internal memory to be recycled (as, from system file, determine, the file that in the time threshold scope of setting, is not used, perhaps the number of times that is used in the time threshold scope of this setting is lower than the file of the minimum access times threshold value of setting, and the internal memory of the fileinfo of buffer memory this document is defined as internal memory to be recycled), therefore, avoided the file delete that some program run must keep being caused the problem of system's operation exception owing to forcing releasing memory, and, the internal memory of storing the fileinfo of scratch file is discharged, improved usage factor of system resource and rationality, improved reliability of system operation.
Description of drawings
Fig. 1 realizes the method flow diagram that internal memory reclaims in the embodiment of the invention;
Fig. 2 is the structural representation of internal memory retracting device in the embodiment of the invention;
Fig. 3 realizes the signaling process figure that internal memory reclaims in the embodiment of the invention.
Embodiment
For solving the technical matters that prior art exists, method and device thereof that the embodiment of the invention provides a kind of internal memory to reclaim, the method that this internal memory reclaims is mainly: the operating position of detection system internal memory (can be regularly, periodically detect, can also be when needs detect the internal memory operating position, to detect), be lower than pre-set threshold or/and CPU (Central ProcessorUnit at the free memory of determining system, central processing unit) load is greater than predefined load threshold, and may cause system operation to take place when unusual, determine a plurality of files that fileinfo is cached in Installed System Memory, and untapped file in the time threshold scope before from these a plurality of files, determining according to the operating position of file till current time, access times are lower than the file of default minimum access times in the time threshold scope before perhaps till current time, and the internal memory of the fileinfo of these files of buffer memory is defined as internal memory to be recycled, and discharge internal memory to be recycled.Because technical solution of the present invention is when internal memory reclaims, be that the internal memory that will be used to store the fileinfo of scratch file discharges, therefore, avoided the file delete that some program run must keep being caused the problem of system's operation exception owing to forcing releasing memory, and, the internal memory of storing the fileinfo of scratch file is discharged, improved usage factor of system resource and rationality.
Below in conjunction with Figure of description technical solution of the present invention is described in detail.
Referring to Fig. 1, for realizing the method flow diagram that internal memory reclaims in the embodiment of the invention, the method comprising the steps of:
Free memory information in step 101, the detection system and cpu load information.
Free memory information in the system comprises system's free memory, the idle low memory of system and cpu load etc.
Step 102, free memory in the detected system and the free memory threshold value that sets in advance are compared, cpu load and the CPU threshold value that sets in advance are compared, determine whether to reclaim internal memory according to comparative result.
In this step, the free memory threshold value comprises system's free memory threshold value, system's idle low memory threshold value, determine whether to reclaim internal memory according to comparative result, specifically comprise: judge system's free memory whether less than the system's free memory threshold value that sets in advance, the idle low memory of system whether less than the system that sets in advance idle low memory threshold value, cpu load whether greater than the cpu load threshold value that sets in advance; All be defined as needing to reclaim internal memory if following any or multiple situation occurs: system's free memory less than the system's free memory threshold value that sets in advance, the idle low memory of system less than the system that sets in advance idle low memory threshold value, cpu load greater than the cpu load threshold value that sets in advance.
Step 103, be cached in the operating position of the file of Installed System Memory, determine internal memory to be recycled and discharge according to fileinfo.
In this step, determine internal memory to be recycled, specifically comprise: determine fileinfo and be cached in file in the Installed System Memory; At each file of determining, judge in a period of time threshold range of this document till current time and whether be used (use comprise write, read, delete, operation such as modification), if do not have, then just the internal memory of the fileinfo of buffer memory this document is defined as internal memory to be recycled; Perhaps, at each file of determining, judge whether the number of times that was used in a period of time threshold range of this document till current time is lower than the minimum access times threshold value that sets in advance, if then the internal memory with the fileinfo of buffer memory this document is defined as internal memory to be recycled.
Preferably, for improving the efficient that internal memory discharges, in the embodiment of the invention, exploitation is used to force the internal memory realizing interface of releasing memory in the kernel of the operating system at current place, discharges internal memory to be recycled so that directly call this internal memory realizing interface under user's attitude state.
Preferably, bring bigger influence for avoiding because internal memory reclaims to system operation, in the embodiment of the invention, user's attitude, detects Installed System Memory and uses more for a long time when comparatively idle in system, and the thread that starts low priority forces to discharge internal memory to be recycled.
Referring to Fig. 2, be the structural representation of internal memory retracting device in the embodiment of the invention, this device comprises internal memory detection module 22, system control module 23, wherein:
Internal memory detection module 22 is used for the load of the free memory and the central processor CPU of detection system; And, be lower than the free memory threshold value of setting or/and described load during greater than the load threshold set, determines that needing to reclaim internal memory also starts described system control module 23 at described free memory;
System control module 23 is used for being cached in according to fileinfo the operating position of the file of Installed System Memory, determines internal memory to be recycled, and discharges this internal memory to be recycled.
Preferably, said apparatus also comprises database configuration module 21:
Database configuration module 21, be used for the threshold value and the cpu load threshold value of the free memory of operating system are provided with, the threshold value of free memory comprises system's free memory threshold value and system idle low memory threshold value, and, be used for the information and the cpu load information of saved system free memory.
Preferably, for guaranteeing the normal operation of system, in actual applications, rule of thumb the cpu load threshold value is set to 50%, and system's free memory threshold value is set to 600M, and the threshold value of low memory is set to 300M.
More particularly, internal memory detection module 22 is used to start the internal memory that sets in advance and safeguards thread, regularly or periodically free memory and the cpu load to operating system detects, free memory in the detected system and the free memory threshold value that sets in advance are compared, cpu load and the CPU threshold value that sets in advance are compared, determine whether to reclaim internal memory according to comparative result, and when determining to need to reclaim internal memory, send the internal memory recovery command to system control module 23.
If internal memory detection module 22 is when determining one or more situations in the following comparative result, be defined as needing to reclaim internal memory: system's free memory is less than the system's free memory threshold value that sets in advance, the idle low memory of system is less than the system that sets in advance idle low memory threshold value, and cpu load is greater than the cpu load threshold value that sets in advance.
More particularly, system control module 23 is used for when receiving the internal memory recovery command of internal memory detection module 22 transmissions, and according to the file access situation, the fileinfo of this document is cached in the Installed System Memory, determine internal memory to be recycled, and discharge the internal memory of determining to be recycled.
System control module 23 comprises that data sync submodule 231, internal memory determine that submodule 232 and internal memory discharge submodule 233, and system control module 23 carries out internal memory and reclaims, and specifically may further comprise the steps:
Step 1, cache contents is carried out synchronously, be specially: do not have real being written in the disk owing to be cached in the data of Installed System Memory, for avoiding owing to internal memory reclaims problems such as causing loss of data, with integrality and the consistance that guarantees that data write, 231 pairs of disc content of the synchronous submodule of system control module 23 log-on datas and the data sync of carrying out that is cached in content in the internal memory;
Step 2, from internal memory, determine the internal memory to be recycled that this internal memory reclaims, be specially: system control module 23 starts internal memory and determines submodule 232, determine the situation of shared internal memory in the submodule 232 tracker operational processs by internal memory, determine among buffer cache and the page cache file that in current time threshold till this moment, all is not used, perhaps access times are lower than the file of the minimum access times that set in advance, and the internal memory that will be used for the fileinfo of these files of buffer memory is defined as internal memory to be recycled.
In (SuSE) Linux OS, can wear out to the current internal memory of determining to be recycled by the shrink_slab function, make this internal memory to be recycled be in compressive state, be callable internal memory to characterize this internal memory that is in compressive state.
Remove aforesaid way, can also directly the internal memory of determining to be recycled be identified with identifier, this identifier be used for characterizing should in save as recyclable internal memory.
Step 3, release steps 2 are determined to be recycled in, be specially: system control module 23 starts internal memory and discharges submodule 233, discharge submodule 233 traversal buffer cache and each self-corresponding super block of page cache by this internal memory, with the content deletion of internal memory to be recycled place node among the super block, to discharge internal memory to be recycled.
In the practical application, such as in the SUSE9+SP3 system, the kernel version of this SUSE9+SP3 system is 2.6.5-7.244, is not directly used in the internal memory realizing interface that internal memory reclaims owing to do not exist, therefore, can discharge internal memory to be recycled by calling the drop_pagecache function.
For clearer technical solution of the present invention is described in detail, the process that internal memory reclaims is described in detail below in conjunction with signaling process figure.
Referring to Fig. 3, for realizing the signaling process figure that internal memory reclaims in the embodiment of the invention, this flow process comprises step, and wherein step 301~302 are optional step, and 303~305 is essential step, and step 306~307 are optional step:
Step 301, internal memory detection module 22 are to database configuration module 21 sending threshold value query requests, with idle memory threshold and cpu load threshold value in the request inquiry system.
Step 302, database configuration module 21 are obtained pre-configured free memory threshold value and cpu load threshold value from database, the free memory threshold value comprises system's free memory threshold value and low memory threshold value.
Step 303, internal memory detection module 22 start free memory and the cpu load information that internal memory is safeguarded thread timing or periodic detection system, and need to determine internal memory to reclaim when detecting following one or more situations: system's free memory is lower than the system's free memory threshold value that sets in advance, the low memory is lower than the low memory threshold value that sets in advance, and cpu load is greater than the cpu load threshold value.
Step 304, internal memory detection module 22 send the internal memory recovery commands to system control module 23 when determining needs recovery internal memory.
231 pairs of disc content of the data sync submodule of step 305, system control module 23 and the data sync of carrying out that is cached in content in the internal memory; Internal memory determines that submodule 232 determines internal memory to be recycled according to the file access situation; Internal memory discharges submodule 233 these internal memories of release and determines the internal memory to be recycled that submodule 232 is determined.
Preferably, be the internal memory operating position that the 21 real-time renewals of database configuration module are preserved, so that the internal memory reasonable distribution, above-mentioned flow process further comprising the steps of 306~307:
Step 306, system control module 23 send the notification message that successfully reclaims internal memory to internal memory detection module 21 after successfully discharging internal memory to be recycled.
Step 307, internal memory detection module 22 are sent to database configuration module 21 with the relevant information of the internal memory that system control module 23 has reclaimed, so that database configuration module 21 is upgraded free memory information.
Preferably, for simplifying the Signalling exchange of internal memory recovery process, the following step of above-mentioned steps 301~302 usefulness replaces: database configuration module 21 is handed down to internal memory detection module 22 with configuration result after configuration free memory threshold value.
In the embodiment of the invention, by timing or periodic detection system internal memory operating position, and it is less and may cause system operation to take place when unusual at free memory, start the internal memory recovery process, the embodiment of the invention, when internal memory reclaims, need determine internal memory to be recycled according to the operating position that fileinfo is cached in the file in the internal memory, and discharge internal memory to be recycled.Adopt technical solution of the present invention, on the one hand, when internal memory reclaims, be will be used to store long-term untapped or seldom use the internal memory of the fileinfo of file to discharge, therefore, avoided the file delete that some program run must keep being caused the problem of system's operation exception owing to forcing releasing memory, and, with storing untapped for a long time or seldom using the internal memory of the fileinfo of file to discharge, usage factor of system resource and rationality have been improved; On the other hand, owing to be the detection system internal memory operating position in timing or cycle, and determine whether releasing memory according to operating position, and therefore, realized the normal operation of real-time ensuring system, improve reliability of system operation.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (9)

1. a method for recovering internal storage is characterized in that, comprising:
The free memory in the detection system and the load of central processor CPU;
When described free memory is lower than the free memory threshold value of setting or/and described load during greater than the load threshold set, determines to need to reclaim internal memory;
Be cached in the operating position of the file of Installed System Memory according to fileinfo, determine internal memory to be recycled, and discharge this internal memory to be recycled.
2. the method for claim 1, it is characterized in that, determine internal memory to be recycled, be specially: the file that is cached in Installed System Memory at each fileinfo, if this document is not used in the time threshold scope of setting, or the number of times that is used in the time threshold scope of this setting is when being lower than the minimum access times threshold value of setting, and then the internal memory with the fileinfo of buffer memory this document is defined as internal memory to be recycled.
3. the method for claim 1 is characterized in that, the internal memory of described free time comprises system's free memory, the idle low memory of system, and described free memory threshold value comprises the idle low memory of system's free memory threshold value and system threshold value;
Determining needs to reclaim internal memory, is specially:
When described system free memory is lower than described system free memory threshold value, or the idle low memory of described system is lower than described system idle low memory threshold value, or described cpu load determines to need to reclaim internal memory during greater than described load threshold.
4. as each described method of claim 1~3, it is characterized in that, before determining internal memory to be recycled, also comprise step: disk and the internal memory that is used for cache file information to described system carry out data sync.
5. as each described method of claim 1~3, it is characterized in that, discharge after the described internal memory to be recycled, also comprise step:, the free memory relevant information of storage is upgraded according to the information of releasing memory.
6. an internal memory retracting device is characterized in that, comprises internal memory detection module and system control module, wherein:
The internal memory detection module is used for the load of the free memory and the central processor CPU of detection system; And, be lower than the free memory threshold value of setting or/and described load during greater than the load threshold set, determines that needing to reclaim internal memory also starts described system control module at described free memory;
System control module is used for being cached in according to fileinfo the operating position of the file of Installed System Memory, determines internal memory to be recycled, and discharges this internal memory to be recycled.
7. device as claimed in claim 6, it is characterized in that, described system control module is determined internal memory to be recycled, be specially: the file that is cached in Installed System Memory at each fileinfo, if this document is not used in the time threshold scope of setting, when perhaps the number of times that is used in the time threshold scope of this setting was lower than the minimum access times threshold value of setting, then the internal memory with the fileinfo of buffer memory this document was defined as internal memory to be recycled.
8. device as claimed in claim 6 is characterized in that, the internal memory of described free time comprises system's free memory, the idle low memory of system, and described free memory threshold value comprises the idle low memory of system's free memory threshold value and system threshold value;
Described system control module determines to need to reclaim internal memory, be specially: be lower than described system free memory threshold value at described system free memory, or the idle low memory of described system is lower than described system idle low memory threshold value, or described cpu load determines to need to reclaim internal memory during greater than described load threshold.
9. as each described device of claim 6~8, it is characterized in that described system control module carried out data sync to the disk of described system and the internal memory that is used for cache file information before determining internal memory to be recycled.
CN201010153922A 2010-04-22 2010-04-22 Method and device thereof for reclaiming memory Pending CN101833512A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010153922A CN101833512A (en) 2010-04-22 2010-04-22 Method and device thereof for reclaiming memory
PCT/CN2011/070615 WO2011131046A1 (en) 2010-04-22 2011-01-26 Method and device for recovering memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010153922A CN101833512A (en) 2010-04-22 2010-04-22 Method and device thereof for reclaiming memory

Publications (1)

Publication Number Publication Date
CN101833512A true CN101833512A (en) 2010-09-15

Family

ID=42717588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010153922A Pending CN101833512A (en) 2010-04-22 2010-04-22 Method and device thereof for reclaiming memory

Country Status (2)

Country Link
CN (1) CN101833512A (en)
WO (1) WO2011131046A1 (en)

Cited By (56)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033945A (en) * 2010-12-21 2011-04-27 中兴通讯股份有限公司 Method and device for recovering garbage
CN102063462A (en) * 2010-10-29 2011-05-18 蓝汛网络科技(北京)有限公司 Method and device for recovering storage resources from cache server
WO2011113378A2 (en) * 2011-04-26 2011-09-22 华为技术有限公司 Method and apparatus for recovering memory of user-plane buffer
WO2011131046A1 (en) * 2010-04-22 2011-10-27 中兴通讯股份有限公司 Method and device for recovering memory
CN102904923A (en) * 2012-06-21 2013-01-30 华数传媒网络有限公司 Data reading method and data reading system capable of relieving disk reading bottleneck
CN103092342A (en) * 2012-12-31 2013-05-08 北京金山安全软件有限公司 Processing method and device of mobile terminal
CN103150259A (en) * 2013-03-22 2013-06-12 华为技术有限公司 Memory recovery method and device
US20130246686A1 (en) * 2012-03-19 2013-09-19 Hitachi, Ltd. Storage system comprising nonvolatile semiconductor storage device, and storage control method
CN103324575A (en) * 2012-03-23 2013-09-25 腾讯科技(深圳)有限公司 Memory clearing method and mobile terminal
CN103577348A (en) * 2013-10-09 2014-02-12 广东欧珀移动通信有限公司 Method and mobile device for automatically counting application cache size and reminding user
CN103714016A (en) * 2014-01-14 2014-04-09 贝壳网际(北京)安全技术有限公司 Cache cleaning method, device and client side
CN103838677A (en) * 2012-11-23 2014-06-04 腾讯科技(深圳)有限公司 Method and equipment for releasing memory blocks of shared memory
WO2014101086A1 (en) * 2012-12-28 2014-07-03 华为技术有限公司 Method and device for processing storage space and non-volatile computer readable storage medium
WO2014101493A1 (en) * 2012-12-26 2014-07-03 腾讯科技(深圳)有限公司 Method and device for cleaning terminal redundant information
CN103942077A (en) * 2014-04-15 2014-07-23 清华大学 Drive resource recycle analyzing method
CN103970668A (en) * 2013-02-01 2014-08-06 腾讯科技(深圳)有限公司 Memory cleaning method and device as well as terminal
CN104008061A (en) * 2013-02-22 2014-08-27 华为技术有限公司 Internal memory recovery method and device
CN104035769A (en) * 2014-05-30 2014-09-10 北京金山安全软件有限公司 Processing method and device for space shortage
CN104808952A (en) * 2015-05-05 2015-07-29 百度在线网络技术(北京)有限公司 Data caching method and device
CN104991949A (en) * 2015-07-16 2015-10-21 北京京东尚科信息技术有限公司 Mobile terminal and file management system and method thereof
CN105095529A (en) * 2015-09-30 2015-11-25 深圳天珑无线科技有限公司 Method and device for cleaning garbage content of software as well as terminal
CN105528443A (en) * 2015-12-23 2016-04-27 北京金山安全软件有限公司 Application management method and device and electronic equipment
CN105630694A (en) * 2015-12-28 2016-06-01 创新科存储技术(深圳)有限公司 Method and device for controlling memory release
CN105700960A (en) * 2016-01-13 2016-06-22 广东欧珀移动通信有限公司 Network positioning process start stop method, device and mobile terminal
CN106354659A (en) * 2016-08-29 2017-01-25 许继集团有限公司 Method on FLASH resource recovery of embedded device
US9639399B2 (en) 2013-02-01 2017-05-02 Tencent Technology (Shenzhen) Company Limited Method, apparatus and terminal for releasing memory
CN106658018A (en) * 2016-12-20 2017-05-10 天脉聚源(北京)传媒科技有限公司 Intelligent soft decoding method and device
CN106776375A (en) * 2016-12-27 2017-05-31 东方网力科技股份有限公司 Data cache method and device inside a kind of disk
CN107135427A (en) * 2017-03-28 2017-09-05 武汉斗鱼网络科技有限公司 A kind of method and system for showing barrage information
CN107291495A (en) * 2017-06-01 2017-10-24 努比亚技术有限公司 A kind of shared resource loading method, terminal and computer-readable recording medium
CN107469352A (en) * 2017-07-12 2017-12-15 福建天晴数码有限公司 The resource caching method of game front end, storage medium
CN107506237A (en) * 2017-07-07 2017-12-22 杭州联吉技术有限公司 A kind of web camera and its memory scrubbing method and apparatus
WO2018059076A1 (en) * 2016-09-27 2018-04-05 华为技术有限公司 Memory recovery method and apparatus
CN107912063A (en) * 2016-04-27 2018-04-13 华为技术有限公司 A kind of method for recovering internal storage and device
CN108139868A (en) * 2015-09-17 2018-06-08 华睿泰科技有限责任公司 For the system and method for image segment frequently used from cache supply
CN108205471A (en) * 2017-08-01 2018-06-26 珠海市魅族科技有限公司 Method for recovering internal storage and device, computer installation and computer readable storage medium
CN108205498A (en) * 2017-08-01 2018-06-26 珠海市魅族科技有限公司 Method for recovering internal storage and device, computer installation and computer readable storage medium
CN108205501A (en) * 2017-06-26 2018-06-26 珠海市魅族科技有限公司 Method for recovering internal storage and device, computer installation and computer readable storage medium
CN108228449A (en) * 2017-08-15 2018-06-29 珠海市魅族科技有限公司 Terminal equipment control method and device, terminal device and computer readable storage medium
CN108776614A (en) * 2018-05-03 2018-11-09 华为技术有限公司 The recovery method and device of memory block
CN108776664A (en) * 2018-04-19 2018-11-09 北京立思辰计算机技术有限公司 Force file recovery method and system
CN109213757A (en) * 2018-07-06 2019-01-15 卓智网络科技有限公司 Big data optimiged index method and apparatus
CN109359119A (en) * 2018-10-12 2019-02-19 广州快批信息科技有限公司 The data-updating method of wholesale terminal, wholesale terminal, system and storage medium
WO2019128431A1 (en) * 2017-12-29 2019-07-04 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Memory processing method and device and storage medium
CN110175076A (en) * 2019-05-22 2019-08-27 努比亚技术有限公司 A kind of memory adjusting method, mobile terminal and computer readable storage medium
CN110781005A (en) * 2019-10-25 2020-02-11 新华三大数据技术有限公司 Resource recovery method, device and node
CN110879773A (en) * 2019-11-29 2020-03-13 苏州浪潮智能科技有限公司 CGroup-based memory monitoring method and device
CN110928635A (en) * 2018-09-19 2020-03-27 阿里巴巴集团控股有限公司 Working set dividing method and system
CN111488316A (en) * 2020-04-12 2020-08-04 杭州迪普科技股份有限公司 File cache recovery method and device
CN111752851A (en) * 2019-03-27 2020-10-09 厦门网宿有限公司 Memory recovery method and device
CN112416569A (en) * 2020-09-17 2021-02-26 上海哔哩哔哩科技有限公司 Cache memory adjusting method and device and computer equipment
US11023372B2 (en) 2015-12-31 2021-06-01 Huawei Technologies Co., Ltd. Application memory reclaim method and apparatus
CN113342516A (en) * 2021-05-13 2021-09-03 北京小米移动软件有限公司 Data processing method and device, terminal and storage medium
WO2022057754A1 (en) * 2020-09-21 2022-03-24 华为技术有限公司 Memory control method and device
WO2022143446A1 (en) * 2021-01-04 2022-07-07 华为技术有限公司 Memory release method and related device
CN116775506A (en) * 2023-08-22 2023-09-19 腾讯科技(深圳)有限公司 Memory recycling method, device, equipment and medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106066814B (en) * 2016-05-31 2018-05-29 广东欧珀移动通信有限公司 A kind of application control method and mobile terminal
KR102091409B1 (en) * 2018-03-09 2020-03-20 삼성전자 주식회사 Electronic apparatus and control method thereof
TWI820622B (en) 2021-03-04 2023-11-01 美商美國禮來大藥廠 Fgfr3 inhibitor compounds

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6453403B1 (en) * 2000-05-19 2002-09-17 Sun Microsystems, Inc. System and method for memory management using contiguous fixed-size blocks
CN1635482A (en) * 2003-12-29 2005-07-06 北京中视联数字系统有限公司 A memory management method for embedded system
CN101124551A (en) * 2004-06-30 2008-02-13 国际商业机器公司 Autonomically tuning the virtual memory subsystem of a computer operating system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100487660C (en) * 2007-05-28 2009-05-13 中兴通讯股份有限公司 Multithreading processor dynamic EMS memory management system and method
CN101833512A (en) * 2010-04-22 2010-09-15 中兴通讯股份有限公司 Method and device thereof for reclaiming memory

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6453403B1 (en) * 2000-05-19 2002-09-17 Sun Microsystems, Inc. System and method for memory management using contiguous fixed-size blocks
CN1635482A (en) * 2003-12-29 2005-07-06 北京中视联数字系统有限公司 A memory management method for embedded system
CN101124551A (en) * 2004-06-30 2008-02-13 国际商业机器公司 Autonomically tuning the virtual memory subsystem of a computer operating system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张尧学等: "《计算机操作系统教程》", 30 September 1993, article "计算机操作系统教程", pages: 115 *

Cited By (86)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011131046A1 (en) * 2010-04-22 2011-10-27 中兴通讯股份有限公司 Method and device for recovering memory
CN102063462A (en) * 2010-10-29 2011-05-18 蓝汛网络科技(北京)有限公司 Method and device for recovering storage resources from cache server
CN102033945A (en) * 2010-12-21 2011-04-27 中兴通讯股份有限公司 Method and device for recovering garbage
WO2011113378A2 (en) * 2011-04-26 2011-09-22 华为技术有限公司 Method and apparatus for recovering memory of user-plane buffer
CN102293029A (en) * 2011-04-26 2011-12-21 华为技术有限公司 Method and apparatus for recovering memory of user-plane buffer
WO2011113378A3 (en) * 2011-04-26 2012-03-22 华为技术有限公司 Method and apparatus for recovering memory of user-plane buffer
US9459830B2 (en) 2011-04-26 2016-10-04 Huawei Technologies Co., Ltd. Method and apparatus for recovering memory of user plane buffer
CN102293029B (en) * 2011-04-26 2014-01-01 华为技术有限公司 Method and apparatus for recovering memory of user-plane buffer
US20130246686A1 (en) * 2012-03-19 2013-09-19 Hitachi, Ltd. Storage system comprising nonvolatile semiconductor storage device, and storage control method
CN103324575A (en) * 2012-03-23 2013-09-25 腾讯科技(深圳)有限公司 Memory clearing method and mobile terminal
CN102904923B (en) * 2012-06-21 2016-01-06 华数传媒网络有限公司 A kind of method and system alleviating the digital independent of disk reading bottleneck
CN102904923A (en) * 2012-06-21 2013-01-30 华数传媒网络有限公司 Data reading method and data reading system capable of relieving disk reading bottleneck
CN103838677B (en) * 2012-11-23 2018-07-06 腾讯科技(深圳)有限公司 The memory block method for releasing and equipment of a kind of shared drive
CN103838677A (en) * 2012-11-23 2014-06-04 腾讯科技(深圳)有限公司 Method and equipment for releasing memory blocks of shared memory
TWI506641B (en) * 2012-12-26 2015-11-01 Tencent Tech Shenzhen Co Ltd Method and device for cleaning terminal redundant information
US10311031B2 (en) 2012-12-26 2019-06-04 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and storage medium for removing redundant information from terminal
WO2014101493A1 (en) * 2012-12-26 2014-07-03 腾讯科技(深圳)有限公司 Method and device for cleaning terminal redundant information
WO2014101086A1 (en) * 2012-12-28 2014-07-03 华为技术有限公司 Method and device for processing storage space and non-volatile computer readable storage medium
CN103092342A (en) * 2012-12-31 2013-05-08 北京金山安全软件有限公司 Processing method and device of mobile terminal
US9639399B2 (en) 2013-02-01 2017-05-02 Tencent Technology (Shenzhen) Company Limited Method, apparatus and terminal for releasing memory
CN103970668A (en) * 2013-02-01 2014-08-06 腾讯科技(深圳)有限公司 Memory cleaning method and device as well as terminal
WO2014127684A1 (en) * 2013-02-22 2014-08-28 华为技术有限公司 Memory recycling method and device
CN104008061B (en) * 2013-02-22 2018-01-23 华为技术有限公司 Method for recovering internal storage and device
CN104008061A (en) * 2013-02-22 2014-08-27 华为技术有限公司 Internal memory recovery method and device
CN103150259A (en) * 2013-03-22 2013-06-12 华为技术有限公司 Memory recovery method and device
CN103150259B (en) * 2013-03-22 2016-03-30 华为技术有限公司 A kind of method for recovering internal storage and device
CN103577348A (en) * 2013-10-09 2014-02-12 广东欧珀移动通信有限公司 Method and mobile device for automatically counting application cache size and reminding user
CN103714016A (en) * 2014-01-14 2014-04-09 贝壳网际(北京)安全技术有限公司 Cache cleaning method, device and client side
CN103942077A (en) * 2014-04-15 2014-07-23 清华大学 Drive resource recycle analyzing method
CN104035769A (en) * 2014-05-30 2014-09-10 北京金山安全软件有限公司 Processing method and device for space shortage
CN104808952B (en) * 2015-05-05 2018-09-18 百度在线网络技术(北京)有限公司 data cache method and device
CN104808952A (en) * 2015-05-05 2015-07-29 百度在线网络技术(北京)有限公司 Data caching method and device
CN104991949B (en) * 2015-07-16 2019-03-26 北京京东尚科信息技术有限公司 Mobile terminal and its file management system and method
CN104991949A (en) * 2015-07-16 2015-10-21 北京京东尚科信息技术有限公司 Mobile terminal and file management system and method thereof
CN108139868A (en) * 2015-09-17 2018-06-08 华睿泰科技有限责任公司 For the system and method for image segment frequently used from cache supply
CN105095529A (en) * 2015-09-30 2015-11-25 深圳天珑无线科技有限公司 Method and device for cleaning garbage content of software as well as terminal
CN105528443A (en) * 2015-12-23 2016-04-27 北京金山安全软件有限公司 Application management method and device and electronic equipment
CN105630694A (en) * 2015-12-28 2016-06-01 创新科存储技术(深圳)有限公司 Method and device for controlling memory release
CN105630694B (en) * 2015-12-28 2019-04-26 创新科存储技术(深圳)有限公司 Control the recovery method and device of memory
US11023372B2 (en) 2015-12-31 2021-06-01 Huawei Technologies Co., Ltd. Application memory reclaim method and apparatus
CN105700960A (en) * 2016-01-13 2016-06-22 广东欧珀移动通信有限公司 Network positioning process start stop method, device and mobile terminal
CN105700960B (en) * 2016-01-13 2018-01-19 广东欧珀移动通信有限公司 A kind of start and stop method, device and mobile terminal of network positions process
CN107912063A (en) * 2016-04-27 2018-04-13 华为技术有限公司 A kind of method for recovering internal storage and device
US10901890B2 (en) 2016-04-27 2021-01-26 Huawei Technologies Co., Ltd. Memory reclaiming method and apparatus
CN106354659A (en) * 2016-08-29 2017-01-25 许继集团有限公司 Method on FLASH resource recovery of embedded device
CN106354659B (en) * 2016-08-29 2019-07-19 许继集团有限公司 A kind of method of the FLASH resource reclaim of embedded device
WO2018059076A1 (en) * 2016-09-27 2018-04-05 华为技术有限公司 Memory recovery method and apparatus
US11099900B2 (en) 2016-09-27 2021-08-24 Huawei Technologies Co., Ltd. Memory reclamation method and apparatus
CN106658018A (en) * 2016-12-20 2017-05-10 天脉聚源(北京)传媒科技有限公司 Intelligent soft decoding method and device
CN106776375A (en) * 2016-12-27 2017-05-31 东方网力科技股份有限公司 Data cache method and device inside a kind of disk
CN107135427A (en) * 2017-03-28 2017-09-05 武汉斗鱼网络科技有限公司 A kind of method and system for showing barrage information
CN107291495A (en) * 2017-06-01 2017-10-24 努比亚技术有限公司 A kind of shared resource loading method, terminal and computer-readable recording medium
CN108205501B (en) * 2017-06-26 2020-08-07 珠海市魅族科技有限公司 Memory recovery method and device, computer device and computer readable storage medium
CN108205501A (en) * 2017-06-26 2018-06-26 珠海市魅族科技有限公司 Method for recovering internal storage and device, computer installation and computer readable storage medium
CN107506237A (en) * 2017-07-07 2017-12-22 杭州联吉技术有限公司 A kind of web camera and its memory scrubbing method and apparatus
CN107469352B (en) * 2017-07-12 2021-06-08 福建天晴数码有限公司 Resource caching method and storage medium for game front end
CN107469352A (en) * 2017-07-12 2017-12-15 福建天晴数码有限公司 The resource caching method of game front end, storage medium
CN108205471B (en) * 2017-08-01 2021-04-27 珠海市魅族科技有限公司 Memory recovery method and device, computer device and computer readable storage medium
CN108205471A (en) * 2017-08-01 2018-06-26 珠海市魅族科技有限公司 Method for recovering internal storage and device, computer installation and computer readable storage medium
CN108205498A (en) * 2017-08-01 2018-06-26 珠海市魅族科技有限公司 Method for recovering internal storage and device, computer installation and computer readable storage medium
CN108205498B (en) * 2017-08-01 2021-04-27 珠海市魅族科技有限公司 Memory recovery method and device, computer device and computer readable storage medium
CN108228449A (en) * 2017-08-15 2018-06-29 珠海市魅族科技有限公司 Terminal equipment control method and device, terminal device and computer readable storage medium
CN108228449B (en) * 2017-08-15 2021-02-19 珠海市魅族科技有限公司 Terminal device control method and device, terminal device and computer readable storage medium
WO2019128431A1 (en) * 2017-12-29 2019-07-04 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Memory processing method and device and storage medium
US10698837B2 (en) 2017-12-29 2020-06-30 Guangdong Oppo Mobile Telecommunications Corp., Ltd Memory processing method and device and storage medium
CN108776664A (en) * 2018-04-19 2018-11-09 北京立思辰计算机技术有限公司 Force file recovery method and system
CN108776614A (en) * 2018-05-03 2018-11-09 华为技术有限公司 The recovery method and device of memory block
CN109213757A (en) * 2018-07-06 2019-01-15 卓智网络科技有限公司 Big data optimiged index method and apparatus
CN110928635B (en) * 2018-09-19 2023-05-02 阿里巴巴集团控股有限公司 Working set dividing method and system
CN110928635A (en) * 2018-09-19 2020-03-27 阿里巴巴集团控股有限公司 Working set dividing method and system
CN109359119A (en) * 2018-10-12 2019-02-19 广州快批信息科技有限公司 The data-updating method of wholesale terminal, wholesale terminal, system and storage medium
CN111752851B (en) * 2019-03-27 2023-08-18 厦门网宿有限公司 Memory recycling method and device
CN111752851A (en) * 2019-03-27 2020-10-09 厦门网宿有限公司 Memory recovery method and device
CN110175076A (en) * 2019-05-22 2019-08-27 努比亚技术有限公司 A kind of memory adjusting method, mobile terminal and computer readable storage medium
CN110781005A (en) * 2019-10-25 2020-02-11 新华三大数据技术有限公司 Resource recovery method, device and node
CN110879773B (en) * 2019-11-29 2023-01-06 苏州浪潮智能科技有限公司 CGroup-based memory monitoring method and device
CN110879773A (en) * 2019-11-29 2020-03-13 苏州浪潮智能科技有限公司 CGroup-based memory monitoring method and device
CN111488316A (en) * 2020-04-12 2020-08-04 杭州迪普科技股份有限公司 File cache recovery method and device
CN111488316B (en) * 2020-04-12 2023-09-22 杭州迪普科技股份有限公司 File cache recovery method and device
CN112416569B (en) * 2020-09-17 2022-12-06 上海哔哩哔哩科技有限公司 Cache memory adjusting method and device and computer equipment
CN112416569A (en) * 2020-09-17 2021-02-26 上海哔哩哔哩科技有限公司 Cache memory adjusting method and device and computer equipment
WO2022057754A1 (en) * 2020-09-21 2022-03-24 华为技术有限公司 Memory control method and device
WO2022143446A1 (en) * 2021-01-04 2022-07-07 华为技术有限公司 Memory release method and related device
CN113342516A (en) * 2021-05-13 2021-09-03 北京小米移动软件有限公司 Data processing method and device, terminal and storage medium
CN116775506A (en) * 2023-08-22 2023-09-19 腾讯科技(深圳)有限公司 Memory recycling method, device, equipment and medium
CN116775506B (en) * 2023-08-22 2023-12-05 腾讯科技(深圳)有限公司 Memory recycling method, device, equipment and medium

Also Published As

Publication number Publication date
WO2011131046A1 (en) 2011-10-27

Similar Documents

Publication Publication Date Title
CN101833512A (en) Method and device thereof for reclaiming memory
EP3514689B1 (en) Memory management method and apparatus
EP2733617A1 (en) Data buffer device, data storage system and method
US9921955B1 (en) Flash write amplification reduction
US7596657B2 (en) Increased storage capacity for solid state disks using data compression
CN102843396A (en) Data writing and reading method and device in distributed caching system
US8924659B2 (en) Performance improvement in flash memory accesses
US20130080687A1 (en) Solid state disk employing flash and magnetic random access memory (mram)
CN111007991B (en) Method for separating read-write requests based on NVDIMM and computer thereof
CN103246696A (en) High-concurrency database access method and method applied to multi-server system
US20130111103A1 (en) High-speed synchronous writes to persistent storage
CN101221585A (en) Data storage method and device
CN103037004A (en) Implement method and device of cloud storage system operation
KR102513961B1 (en) Electronic Device having Multiple Operating Systems and Dynamic Memory Management Method thereof
EP2645246A1 (en) Method and apparatus of memory management by storage system
KR101835604B1 (en) Scheduler for memory
CN103516549A (en) File system metadata log mechanism based on shared object storage
WO2023029971A1 (en) Heterogeneous memory-based data migration method
US9946496B2 (en) SSD with non-blocking flush command
EP3588913B1 (en) Data caching method, apparatus and computer readable medium
CN109375868B (en) Data storage method, scheduling device, system, equipment and storage medium
CN101826055B (en) Management method for data cache distribution in Linux system
CN111679914B (en) Memory management method, system, computer equipment and storage medium
CN105138277A (en) Cache management method for solid-state disc array
CN105589912A (en) Method and storage structure for processing frequently written document with MRAM (Magnetic Random Access Memory)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100915