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

Memory overflow management method and device, electronic equipment and storage medium

A memory overflow and management method technology, applied in electronic equipment and storage media, memory overflow management method, and device field, can solve problems such as difficulty and app killing, save time for locating problems, save development time, and improve development. The effect of efficiency

Pending Publication Date: 2020-11-24
WUBA
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a memory overflow management method, device, electronic equipment, and storage medium to solve the limitations of existing memory usage monitoring methods, and it is difficult to prevent App from being blocked by the system after OOM occurs from the source. kill the problem

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0046] refer to figure 1 , shows a flowchart of steps of a memory overflow management method in an embodiment of the present invention.

[0047] Step 110, acquire the memory space data used in real time in the target device and the memory upper limit of the target device, where the memory space data includes at least one of heap memory space data and virtual memory space data.

[0048]As mentioned above, the stability of App operation is the prerequis...

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 provides a memory overflow management method and device, electronic equipment and a storage medium. The method comprises the steps of acquiring memory space data used in target equipmentin real time and a memory upper limit of the target equipment, wherein the memory space data comprise at least one of heap memory space data and virtual memory space data; under the condition that the distance between the memory space data and the memory upper limit is smaller than a preset numerical value, recording stack information of memory allocation, and setting a memory overflow identifierfor an application program running in the foreground of the target equipment; and for each application program provided with the memory overflow identifier, performing memory analysis on the application program according to the stack information allocated by the memory. Therefore, the memory does not need to be analyzed manually in the development stage, the problem positioning time in demand development is saved, meanwhile, the development time is saved, and the development efficiency is improved. And the problem that the system kills the App due to the OOM can be accurately detected.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a memory overflow management method, device, electronic equipment and storage medium. Background technique [0002] The running stability of App (Application, application program) is the premise of guaranteeing business development, and it is also the standard to measure whether an App is excellent. At the same time, the higher the stability of the app, the better the user experience and the higher the relative number of users. The increase in the number of users and daily activities can also promote the operating income of the App and other invisible benefits. Therefore, ensuring the stability of the App is a problem that every company must face. [0003] App instability factors include excessive memory usage, high CPU consumption, high power consumption, and frequent crashes, etc., which will cause the App to be killed, so re-entering the App requires a cold start process. ...

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/50G06F11/07
CPCG06F9/5016G06F11/073
Inventor 王盟盟彭飞邓竹立
Owner WUBA
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