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

Memory management method and device, terminal and storage medium

A memory management and memory technology, applied in the Internet field, can solve problems such as excessive memory allocation, browser application crashes and exits, and limited terminal memory capacity, so as to ensure normal operation, avoid crashes and exits, and avoid insufficient memory.

Active Publication Date: 2019-04-23
TENCENT TECH (SHENZHEN) CO LTD
View PDF15 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the memory capacity of the terminal is limited. In order to ensure the normal operation of the terminal operating system, the amount of memory that each application program in the terminal is allowed to use is limited to a certain extent.
Take the browser application program as an example: within the scope of the memory that the browser application program is allowed to use, the operating system will respond to the application of each operating module in the browser application program to allocate memory to support the operation of the browser application program; However, if the running modules in the browser application use too much memory, for example: excessive memory allocation due to excessive memory application, excessive memory usage due to memory leaks, or excessive memory usage due to excessive resource loading, etc. etc., these will cause the browser application to run out of memory, and usually trigger the browser application to crash and exit

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

[0034] Embodiments of the present invention propose a memory management solution, which can be applied to terminals to implement memory management for target applications in the terminal. The terminals here may include but are not limited to: smart phones, desktop computers, Laptops, laptops, etc. A plurality of application programs can be installed and run in the terminal, for example: instant messaging application program, browser application program, audio and video application program, etc.; the target application program described in the embodiment of the present invention can be any application program in the terminal, For example, the target application program may be a browser application program. The terminal may include a processor and an operating system (Operating...

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 terminal and a medium, and the method comprises the steps of obtaining the memory usage information of a target process corresponding to a target application program, the memory usage information comprising the memory occupation information of at least one operation module of the target application program; predicting whether the target application program has the risk of memory insufficiency or not according to the memory use information of the target process; and if the risk exists, activating a reserved emergency memory of the target application program, and recovering the occupied memory of at least one running module of the target application program. According to the embodiment of the invention, the effective memory management can be carried out on the target application program, the abnormal phenomena such as collapse and quit caused by the risk of insufficient memory of the target application program are avoided, and the normal operation of the target application program is ensured.

Description

technical field [0001] The present invention relates to the field of Internet technology, in particular to the field of computer technology, in particular to a memory management method, a memory management device, a terminal and a computer storage medium. Background technique [0002] Memory is one of the important components in the terminal. It is a bridge to communicate with the CPU of the terminal. All applications in the terminal are executed in the memory, so memory performance has a great impact on the terminal. However, the memory capacity of the terminal is limited. In order to ensure the normal operation of the terminal operating system, the amount of memory allowed to be used by each application program in the terminal is limited to a certain extent. Take the browser application program as an example: within the scope of the memory that the browser application program is allowed to use, the operating system will respond to the application of each operating module i...

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): G06F12/02
CPCG06F12/023
Inventor 应玉龙
Owner TENCENT TECH (SHENZHEN) CO LTD