A method and device for detecting resource leakage
A resource leakage and resource technology, applied in the field of resource leakage detection, can solve the problems of GDI resource leakage, low detection efficiency, cumbersome manual code inspection logic operation, etc., and achieve the effect of improving detection efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] 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 only some of the embodiments of the present invention, 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.
[0021] The embodiment of the present invention provides a method for detecting resource leakage, which obtains the quantity of GDI resources occupied by a running process, and judges whether the quantity of GDI resources occupied by the process is greater than the preset quantity threshold corresponding to the process. When the number of occupied GDI resources is greater than the preset number threshold, it is determined that a GDI resource leak is det...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


