Memory leak monitoring method, memory leak detection method and corresponding device

The invention provides a memory leak monitoring method, a memory leak detection method and a corresponding device. The method comprises the steps that when a to-be-detected program calls a memory monitoring dynamic library through a preloading mechanism, memory operation information of the to-be-det...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHEN XU, HU YAYUN, FANG BOLUN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a memory leak monitoring method, a memory leak detection method and a corresponding device. The method comprises the steps that when a to-be-detected program calls a memory monitoring dynamic library through a preloading mechanism, memory operation information of the to-be-detected program is intercepted and obtained, and a memory distribution function and a memory release function in the memory monitoring dynamic library are rewritten; and the memory operation information of the to-be-detected program is sent to the server. In the implementation process, when the to-be-detected program calls the memory monitoring dynamic library through the preloading mechanism, the memory operation information of the to-be-detected program is intercepted and obtained, and the memory operation information of the to-be-detected program is sent to the server; therefore, redundant complex processing operations such as storage, query, retrieval and symbol analysis are prevented from being executed on termi