I cannot figure out how to use FastMM. I have downloaded it from SourceForge and placed FastMM4Messages.pas and FastMM4.pas at the top of my dpr file.
I now call this procedure to leak some memory:
procedure testMemoryFastMM;
var
str : TStringList;
begin
str:=TStringList.Create;
str.add('MemChk');
str.SaveToFile('C:leeMemChk.txt');
end;
and get this message
How do I enable these FullDebugMode and LogMemoryLeakDetailsToFile switches?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…