Ems memory leakage testing method in communication apparatus system
A memory leak and detection method technology, which is applied in the field of memory leak detection in optical communication equipment systems, can solve problems such as unusable, difficult to determine the life cycle of memory blocks, and difficult to find, so as to reduce misjudgment, increase application time, The effect of great flexibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0028] The present invention comprehensively judges from the time and space (the location of the application memory block, that is, the file name and the line number where the code of the application memory block is located) whether the occurrence memory leak. The judgment criterion is that the usage time of the memory block exceeds the usage period, the number of memory blocks requested from the same location is greater than or equal to the memory block leak threshold, and the location of the requested memory block is not in the filter detection table.
[0029] The concrete steps of the method provided by the present invention are as follows:
[0030] The first step is to define the usage period of the memory block, the memory block leak threshold and the detection filter table. The usage period of the memory block is the estimated time that the program will use after applying for the memory block, such as one hour. From the moment the memory block is allocated, if the memo...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 