Ich arbeite an einer Software, also habe ich gerade begonnen, FastMM4 (für echt) in meinem Projekt zu verwenden.FastMM4, wie liest man die Protokolldatei?
Ich habe im Netz auf über gefunden, wie man die line number
in FastMM4 erhält, ich habe die Zeilennummer, aber ich kann herausfinden, was die anderen Informationen im Protokoll bedeutet?
Ich habe dies in der Protokolldatei
This block was allocated by thread 0x15F8, and the stack trace (return addresses) at the time was:
402E86 [system.pas][System][[email protected]][2648]
403A3B [system.pas][System][System.TObject.NewInstance][8824]
403DAA [system.pas][System][[email protected]][9489]
403A70 [system.pas][System][System.TObject.Create][8839]
46A257 [u_home.pas][u_home][u_home.TForm1.SpeedButton1Click][80] {<-memory leak is here, but what are the Other detections?}
443AAC [Controls.pas][Controls][Controls.TControl.Click][5226]
46958B [Buttons.pas][Buttons][Buttons.TSpeedButton.Click][1211]
46956B [Buttons.pas][Buttons][Buttons.TSpeedButton.MouseUp][1204]
443FB2 [Controls.pas][Controls][Controls.TControl.DoMouseUp][5352]
441BA0 [Controls.pas][Controls][Controls.TControl.SetMouseCapture][4379]
444042 [Controls.pas][Controls][Controls.TControl.WMLButtonUp][5364]
The block is currently used for an object of class: TStringList
The allocation number is: 440
in das der leak
ist
46A257 [u_home.pas][u_home][u_home.TForm1.SpeedButton1Click][80] {<-memory leak is here, but what are the Other detections?}
meinen Code
procedure TForm1.SpeedButton1Click(Sender: TObject);
var
str : TStringList;
begin
str := TStringList.Create; {<--im not freeing the, so leak}
end;
und hier ist die call stack
i am Netz gesucht, aber ich weiß nicht, was die anderen Erkennungen sind ...
402E86 [system.pas][System][[email protected]][2648]
403A3B [system.pas][System][System.TObject.NewInstance][8824]
403DAA [system.pas][System][[email protected]][9489]
403A70 [system.pas][System][System.TObject.Create][8839]
{Other then this}
46A257 [u_home.pas][u_home][u_home.TForm1.SpeedButton1Click][80] {<-memory leak is here, but what are the Other detections?}
{Other then this}
443AAC [Controls.pas][Controls][Controls.TControl.Click][5226]
46958B [Buttons.pas][Buttons][Buttons.TSpeedButton.Click][1211]
46956B [Buttons.pas][Buttons][Buttons.TSpeedButton.MouseUp][1204]
443FB2 [Controls.pas][Controls][Controls.TControl.DoMouseUp][5352]
441BA0 [Controls.pas][Controls][Controls.TControl.SetMouseCapture][4379]
444042 [Controls.pas][Controls][Controls.TControl.WMLButtonUp][5364]
im mit delphi 2006
i geöffnet haben und versucht, die gleich delphi 6, delph 7
auch
geprüft Ich habe festgestellt, dass dies in Zusammenhang mit FastMM $ Erkennung und Registrierung von einigen Lecks, die bereits in Delphi ist. How to track down tricky memory leak with fastMM? und dies für die Registrierung des Lecks, aber sind sie Fehler? Using FastMM4, how to register leaked string?
Auch FastMM4, Delphi6, Leak of TApplication?
ODER are they just the steps leading to the memory leak?
+ 1, ok, kurzum sie 'sind steps' führen sie zu dem Speicherverlust finden.? – PresleyDias
gibt es eine Möglichkeit, den Namen des Einheitennamens/Klassenname/Zeilennummer nur so anzuzeigen/zu "bekommen", wie nur dies "46A257 [u_home.pas] [u_home] [u_home.TForm1.SpeedButton1Click] [80]' – PresleyDias
ich don ' verstehe diese letzte Frage nicht. –