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

Memory depletion diagnosis method, device and system and storage medium

A diagnostic method and memory technology, applied in the field of communication, can solve problems such as failure to provide useful information, failure to restore the scene, etc.

Pending Publication Date: 2021-06-11
ZTE CORP
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the technician finds that the system memory is exhausted, and then diagnoses the cause, the fault scene cannot

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 depletion diagnosis method, device and system and storage medium
  • Memory depletion diagnosis method, device and system and storage medium
  • Memory depletion diagnosis method, device and system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0042] Example 1: The system application is in the released stage and the total number of multiple memory detection thresholds is three.

[0043]In this example, it is assumed that the three preset memory detection thresholds include, in ascending order, the suspected memory exhaustion threshold, the memory exhaustion warning threshold, and the memory exhaustion threshold.

[0044] Among them, the suspected memory detection threshold is less than the memory exhaustion warning threshold, the memory exhaustion warning threshold is less than the memory exhaustion threshold, the memory exhaustion threshold is less than the total process memory, and the memory exhaustion threshold is the capacity value of the process memory total amount Less than or equal to the preset capacity threshold.

[0045] As a specific example, for a system application in the released stage, when the total memory usage reaches the suspected memory exhaustion threshold, the memory usage profile information ...

example 2

[0057] Example 2: The system application is in the released stage and the total number of multiple memory detection thresholds is two.

[0058] In this example, it is assumed that the three preset memory detection thresholds include, in ascending order, the suspected memory exhaustion threshold and the memory exhaustion threshold. Wherein, the threshold of memory exhaustion is less than the total amount of process memory, and the capacity value of the threshold of memory exhaustion from the total amount of process memory is less than or equal to a preset capacity threshold.

[0059] As a specific example, when the total amount of memory usage reaches the threshold of suspected memory exhaustion, you can regularly record the memory usage profile information of each module in the process at that time, as well as the call stack of each application and release memory, that is, the call stack of each module applies for memory Information and call stack to release memory information...

example 3

[0060] Example 3: The system application is in the released stage and the total number of multiple memory detection thresholds is four.

[0061] In this example, it is assumed that the preset four-layer memory detection thresholds are in descending order: the first memory detection threshold, the second memory detection threshold, the third memory detection threshold, and the fourth memory detection threshold. Wherein, the fourth memory detection threshold is the maximum value among the four memory detection thresholds, and the distance between the fourth memory detection threshold and the total amount of process memory is less than or equal to the preset capacity threshold.

[0062] As a specific example, when the total amount of memory usage reaches the first memory detection threshold, you can regularly record the memory usage profile information of each module in the current process; Module memory usage overview information, as well as the call stack for each memory applic...

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 depletion diagnosis method, device and system and a storage medium. The method comprises the following steps: detecting the total memory use amount of a process in a system application; when the total memory use amount reaches at least one memory detection threshold in a plurality of preset memory detection thresholds, recording memory use condition information of the process module according to a stage of the system application in the software development process, the memory use condition information corresponding to the reached memory detection threshold; and determining the memory depletion reason of the process according to the memory use condition information of the process module.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of communications, and in particular to a method, device, system and storage medium for diagnosing memory exhaustion. Background technique [0002] Embedded systems run in environments such as automobiles, home appliances, industrial machines, and communication equipment that require long-term stable work. Memory exhaustion is usually a dynamic process that occurs at unpredictable times. It may be caused by slow memory leaks, or it may It is caused by underestimation of memory usage in special scenarios. [0003] In order to ensure the stable operation of the system, when the memory is exhausted, the system often recovers by resetting itself. When the technician finds that the system memory is exhausted and then diagnoses the cause, the fault scene cannot be restored, and useful information for effectively diagnosing the cause of the memory exhaustion cannot be provided. Contents...

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): G06F11/07
CPCG06F11/073
Inventor 徐伦
Owner ZTE CORP