Invention Grant
- Patent Title: Resource leak detection method, apparatus, and system
-
Application No.: US15441837Application Date: 2017-02-24
-
Publication No.: US10289472B2Publication Date: 2019-05-14
- Inventor: Jinghui Li , Jianqing Yuan , Xuewen Gong , Youzhan Yin
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen
- Agency: Conley Rose, P.C.
- Priority: CN201410425600 20140826
- Main IPC: G06F11/00
- IPC: G06F11/00 ; G06F11/07 ; G06F11/36 ; G06F11/30 ; G06F11/34

Abstract:
Embodiments of the present disclosure disclose a resource leak detection method, apparatus, and system that includes obtaining a target resource called when target code of a program runs, where the target code is partial code in program code, determining a first storage resource amount occupied by the target resource, determining whether the first storage resource amount occupied by the target resource satisfies a first preset condition, and if the first storage resource amount occupied by the target resource satisfies the first preset condition, determining a storage location of the target code as a resource leak location. In the embodiments of the present disclosure, the target code of the program can be tracked, and further, by means of detection, the storage location of the target code can be determined as the resource leak location.
Public/Granted literature
- US20170168886A1 Resource Leak Detection Method, Apparatus, and System Public/Granted day:2017-06-15
Information query