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

Memory optimization method and device, and computer storage medium

An optimization method, memory technology, applied in the direction of computing, multi-programming device, program control design, etc., to achieve the effect of reducing frequency

Pending Publication Date: 2021-11-30
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

One of the ways to kill processes is lowmemkiller. This kind of killing is mainly triggered after the upper-level killing strategy is completed, but it still cannot meet the memory requirements of new processes or important processes.

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 optimization method and device, and computer storage medium
  • Memory optimization method and device, and computer storage medium
  • Memory optimization method and device, and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0068] In the related technology, when the terminal device enters the lowmem state, it will check and kill the process according to the built-in policy. As the user frequently uses the multi-function applications on the terminal device, the terminal device easily enters the lowmem state. Whenever it enters the lowmem state, there will be problems such as screen freezing and excessive power cons...

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 relates to a memory optimization method and device, and a computer storage medium, and relates to a memory optimization technology. The memory optimization method is applied to a mobile terminal. The method comprises the steps that when first information of running processes meets preset conditions, and the real-time priority of each process in the running processes is determined, wherein the first information of the running processes at least comprises the size of memory space occupied by the running processes and / or the total number of the running processes; and the processes with the real-time priorities lower than a preset priority threshold in the running processes are closed, wherein the preset conditions at least comprise that the size of memory space occupied by the running processes reaches or exceeds a preset first memory threshold value, and the total number of the running processes reaches or exceeds a preset total process number threshold value. According to the technical scheme of the embodiment, calculation of the real-time priorities of the processes is triggered by utilizing the preset conditions, so a part of the processes are selectively closed, resources occupied by the processes are timely released, and the frequency that the terminal equipment enters a low-memory state is reduced.

Description

technical field [0001] The present disclosure relates to memory optimization technology, in particular to a memory optimization method, device and computer storage medium. Background technique [0002] The memory resources of mobile terminals are limited, and whenever an application program APP is started, one or more processes will occupy memory resources. Therefore, within limited resources, in order to create new processes or run more important processes, old processes must be cleared to reclaim memory and other resources. To determine which processes to keep or kill, the system places each process into an "importance hierarchy" based on the components that are running in the process and the state of those components. When necessary, the system kills the least important process first, then the less important process, and so on, to reclaim system resources. One of the ways to kill processes is lowmemkiller. This kind of killing is mainly triggered when the upper-level ki...

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): G06F9/50G06F9/48
CPCG06F9/5016G06F9/4812
Inventor 王有港
Owner BEIJING XIAOMI MOBILE SOFTWARE CO LTD