Memory management method and device, storage medium and electronic equipment

A technology of memory management and memory, which is applied in the direction of memory system, multi-program device, memory address/allocation/relocation, etc., and can solve problems such as electronic device system lag

Pending Publication Date: 2020-05-15
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the related art, when multiple application programs are running in

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 management method and device, storage medium and electronic equipment
  • Memory management method and device, storage medium and electronic equipment
  • Memory management method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] 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. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of this application.

[0026] Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those s...

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 invention discloses a memory management method and device, a storage medium and electronic equipment, and the scheme of the embodiment of the invention comprises the steps: determining the idle memory capacity in a memory space when a memory distribution request transmitted by a target thread is received, and judging whether the target thread is a UI thread or not; when the target thread is the UI thread, judging whether the idle memory amount is smaller than a first preset threshold value or not; if yes, determining a first target memory amount, and performing memory recovery based on the first target memory amount; when the target thread is not the UI thread, judging whether the idle memory amount is smaller than a second preset threshold value or not; and if yes, determining a second target memory amount, and performing memory recovery based on the second target memory amount, so that for the UI thread, more sufficient memory is used for allocation, thereby reducing the probability of low memory scenarios of the UI thread, improving the operation fluency of the UI thread, reducing lagging, and improving the system fluency.

Description

technical field [0001] The present application relates to the technical field of terminals, and in particular to a memory management method, device, storage medium and electronic equipment. Background technique [0002] With the development of technology, more and more various applications are installed in electronic devices, such as video applications, game applications, and instant messaging applications. This makes electronic devices often need to run many application programs in the foreground and background. In the related art, when multiple application programs are running on the electronic device, the electronic device is prone to system freeze. Contents of the invention [0003] Embodiments of the present application provide a memory management method, device, storage medium, and electronic equipment, which can reduce system lag and improve system fluency. [0004] In the first aspect, the embodiment of the present application provides a memory management method,...

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): G06F9/50G06F12/02
CPCG06F9/5016G06F9/5022G06F12/0253
Inventor 彭冬炜
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
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