Memory recovery method and device, electronic equipment and storage medium

A technology for memory recovery and electronic equipment, applied in multi-programming devices, program control design, electrical digital data processing, etc., can solve problems affecting user experience, and achieve the effect of preventing freezes

CN110083450APending Publication Date: 2019-08-02GUANGDONG OPPO MOBILE TELECOMM CORP LTD
8 Cites 8 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2019-08-02

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention discloses a memory recovery method and device, electronic equipment and a storage medium, and the method comprises the steps: after receiving a memory application of ato-be-processed task, detecting the duration consumed by the electronic equipment for allocating a memory to the to-be-processed task; and when the duration is greater than a preset duration threshold, determining whether the electronic equipment meets a preset jamming generation condition currently, and if yes, executing a preset memory recovery operation. Compared with the prior art, the methodand the device have the advantages that the memory recovery operation can be actively executed when the memory distribution time of the electronic equipment is long and the jamming condition is met, so that the task to be processed can be timely distributed to enough memory, and the jamming of the electronic equipment can be effectively prevented.
Need to check novelty before this filing date? Find Prior Art

Description

Technical field

[0001] The present invention relates to the technical field of electronic equipment, and in particular to a memory recovery method, device, electronic equipment and storage medium. Background technique

[0002] With the rapid development of science and technology, applications with different functions in electronic devices emerge in an endless stream. However, if too many applications are installed in the electronic device, excessive memory usage may occur, causing the electronic device to become stuck.

[0003] In the existing related technology, the electronic device is generally equipped with a memory cleaning function. When the user triggers the memory cleaning function through a specified operation, the electronic device can close some applications running in the background, thereby releasing part of the cache in the system memory. , Alleviate the lag phenomenon. However, the above-mentioned memory cleaning function often needs to be triggered manually or only...

Examples

Embodiment Construction

[0024] In order to make the purposes, features, and advantages of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the description The embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative work shall fall within the protection scope of this application.

[0025] Reference figure 1 , figure 1 This is a structural block diagram of an electronic device in an embodiment of this application. The memory recovery method provided by the embodiments of the application can be applied to figure 1 In the electronic device 100 shown. Exemplarily, the electronic device 100 may be any of various types of c...