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

Method, device and electronic equipment for detecting memory leakage

A technology for memory leaks and memory leaks, applied in multi-programming devices, error detection/correction, program control design, etc., can solve problems such as inconvenient, time-consuming and labor-intensive, and prone to test omissions, so as to avoid missed tests and improve testing efficiency effect

Active Publication Date: 2017-09-08
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] But this method is extremely inefficient and inconvenient. For example, there are usually hundreds of user interfaces in a game. When there are many user interfaces, the manual detection method is time-consuming and laborious, and many user interfaces are hidden deep, which is prone to testing. omit

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
  • Method, device and electronic equipment for detecting memory leakage
  • Method, device and electronic equipment for detecting memory leakage
  • Method, device and electronic equipment for detecting memory leakage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus their repeated descriptions will be omitted.

[0045] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the invention. However, those skilled in the art will appreciate that the technical solutions of the present invention may be practiced without one or more of the ...

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 application relates to a method, device and electronic equipment for detecting memory leakage. The method comprises the steps that an identifier of a to-be-detected user interface is acquired; a request used to simulate opening and closing of the user interface by a player is sent cyclically to a client side of detected software according to the identifier, so that the client side can open and close the user interface; memory snapshots generated when the client side opens and closes the user interface each time are acquired; and according to differences in memory quantities of the memory snapshots, whether the memory leakage exists on the user interface is assessed. According to the technical scheme of the application, whether the memory leakage problem exists on the user interface in the software can be rapidly detected.

Description

technical field [0001] The present application relates to the technical field of software testing, in particular, to a method, device and electronic equipment for detecting memory leaks. Background technique [0002] A memory leak is when a program fails to release memory that is no longer in use due to negligence or errors. Memory leaks can reduce computer performance by reducing the amount of available memory. Eventually, in the worst case, too much available memory is allocated causing all or part of the device to stop working properly, or the application to crash. [0003] There may be a lot of user interfaces in some software. Since the user interface usually loads some graphics and special effects, when the code of the program is not standardized, memory leaks are prone to occur. For example, in a large-scale mobile game, there are generally a lot of user interfaces, and players will frequently open and close these user interfaces during game play. When the player p...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36G06F9/54
CPCG06F9/547G06F11/3668
Inventor 吴庭
Owner NETEASE (HANGZHOU) NETWORK CO 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