[DUG] Memory leak profiling XE2

John Bird johnkbird at paradise.net.nz
Fri Mar 9 17:30:30 NZDT 2012


Profiling an app for memory leaks (as it will be running continuously). 
Starts and stops threads, and calls web services.   When profiled with 
AQTime Allocation profiling the first web service call fails with an "access 
violation - read of address xxxxx" (not zero address).   When AQTime 
Allocation profiling is not used it runs fine.   Catch-22.

Q1 - Anyone have any idea where to start hunting?

So I instead turned on FastMM4 diagnostics which show no memory leaks.   (ie 
System.ReportMemoryLeaksOnShutodwn:=true;  )

Q2 - apart from more detail is there anything that FastMM4 memory 
diagnostics might miss that AQTime will pick up (ie do I need to get AQTime 
working if FastMM4 is happy).


John Bird



More information about the Delphi mailing list