RobinP
14 years agoNew Contributor
How to track down memory leak when AQtime gives class as "VCL native memory"
Hi Folks,
I have profiled a large C++ Builder XE project using the Allocation Profiler, and find that one of my classes has a live count of 5020 after quitting the program. Great, so that means a leak, I'll dig deeper on that one. But for the class name, it just says "VCL native memory". Now in the FAQ it says you should simply "switch to the Objects category, select a record in the Report panel,
open the Details panel and switch to the Call stack panel. It displays
the stack of function calls that led to the object’s creation.". But how am I supposed to know which record in the Report panel to click on? I can't check them all, I have about 100 pages of them!
Is there any other way I can follow this further with AQtime?
Cheers,
Robin
I have profiled a large C++ Builder XE project using the Allocation Profiler, and find that one of my classes has a live count of 5020 after quitting the program. Great, so that means a leak, I'll dig deeper on that one. But for the class name, it just says "VCL native memory". Now in the FAQ it says you should simply "switch to the Objects category, select a record in the Report panel,
open the Details panel and switch to the Call stack panel. It displays
the stack of function calls that led to the object’s creation.". But how am I supposed to know which record in the Report panel to click on? I can't check them all, I have about 100 pages of them!
Is there any other way I can follow this further with AQtime?
Cheers,
Robin