A memory detection method, device and system

A memory detection and memory technology, applied in the detection of faulty computer hardware, etc., can solve problems such as imperfect code, high memory usage by applications, and not being released in time.

Active Publication Date: 2019-10-18
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the applications on the market, due to the imperfect code, there may be situations where the requested memory objects are not released in time after not being used, resulting in excessive memory usage by the application.

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
  • A memory detection method, device and system
  • A memory detection method, device and system
  • A memory detection method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0036] The embodiment of the present application provides a memory detection method, which can obtain memory snapshot information at several time points during the running process of the target application, from which the staff can select two memory snapshot information for comparison, and determine the memory objects jointly contained by the two through comparison information, and / or the memory object information added by the target memory snapshot information at a later point in ti...

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 discloses a memory detecting method, device and system. The method is characterized in that memory snapshot information of a plurality of time points can be acquired in the target application and running process; a worker can select two memory snapshot information to compare so as to determine the memory object information included in the two memory snapshot information and / or the memory object information which is newly increased in the target memory snapshot information obtained in later time slot by being compared with another target memory snapshot information. The worker can analyze the memory object information included in all memory snapshot information and accordingly determine whether to destroy an object without being recovered by a garbage collection (GC) mechanism due to some causes; meanwhile, the worker can analyze the newly-increased memory object information to determine whether the newly-increased memory object information includes a newly-increased object caused by code error. With the adoption of the method, the worker can specifically optimize a code.

Description

technical field [0001] The present application relates to the technical field of memory detection, and more specifically, to a memory detection method, device and system. Background technique [0002] With the development of Internet technology, various types of applications have sprung up, providing users with diversified network services, such as video services, game services, webcast services, etc., greatly enriching users' lives. [0003] The application will dynamically apply for memory space during the running process, and as the application process runs, the applied memory space should be released in time if it is no longer used, so as to avoid the infinite growth of application memory and memory leaks. For the applications on the market, due to the imperfect code, there may be situations where the requested memory objects are not released in time after not being used, resulting in excessive memory usage by the application. [0004] Therefore, there is an urgent need...

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 Patents(China)
IPC IPC(8): G06F11/22
Inventor 何纯魏学峰徐森高文薛阳
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products