Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Memory recovery method and device, storage medium and electronic equipment

A technology of memory recovery and memory quantity, which is applied in the directions of multi-program device, program control design, electronic digital data processing, etc., and can solve problems such as freezing in user interaction scenarios

Pending Publication Date: 2020-10-27
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This makes electronic devices often need to run many applications in the foreground and background, which is prone to stuttering in user interaction scenarios

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] 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.

[0027] 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 application discloses a memory recovery method and device, a storage medium and electronic equipment, and the method comprises the steps: determining the idle memory capacity ina memory space when a memory distribution request transmitted by a thread is received, and judging whether the thread is a thread of a preset type or not; when the thread is the thread of the preset type, judging whether the idle memory amount is smaller than a first preset threshold value or not, and when the idle memory amount is smaller than the first preset threshold value, performing memory recovery processing; when the thread is not the thread of the preset type, judging whether the idle memory amount is smaller than a second preset threshold value or not; and if the idle memory amount is smaller than a second preset threshold value, performing memory recovery processing. According to the scheme, the probability that the thread enters the slow allocation path is reduced, so that thememory allocation request of the thread of the preset type can be responded in time, the memory allocation success rate of the thread is improved, then the user interaction event can be completed in time, and jamming in a user interaction scene is avoided.

Description

technical field [0001] The present application relates to the technical field of electronic equipment, and in particular to a memory recovery 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, which is prone to stuttering in user interaction scenarios. Contents of the invention [0003] Embodiments of the present application provide a memory reclamation method, device, storage medium, and electronic device, which can reduce stuttering in an interactive scene. [0004] In the first aspect, the embodiment of the present application provides a memory recovery method, including: [0005] When receiving a memory allocation request sent by a thread...

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/50
CPCG06F9/5016G06F9/5022
Inventor 周华材张诗明郭健
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products