Sorry, but I know the output below is going to wrap horribly. I'm self-taught when it comes to understanding the heaptrc output. I also couldn't find clear documentation explaining the output.
From the information below, I gathered the following information. But
a few points I'm not sure about...
1) Every "Call trace for block" is a memory leak, correct?
2) Each "Call trace for block" is where the memory was allocated (start being used)?
3) I should trace the information from the bottom line to the top line...
4) Why does it quote more than one line? If I allocated memory on a specific line, should just that line be quoted?
----------------------------------
Heap dump by heaptrc unit
43868 memory blocks allocated : 3458694/3643528
43800 memory blocks freed : 3456984/3641616
68 unfreed memory blocks : 1710
True heap size : 950272
True free heap : 943984
Should be : 944552
Call trace for block $B6F99188 size 48
$080AD78F MAINPROC, line 104 of tutoradmin.lpr
$080B6127 MAINPROC, line 104 of tutoradmin.lpr
$0809849B TCUSTOMLISTMEDIATOR__CREATESUBMEDIATORS, line 1122 of /home/graemeg/programming/3rdParty/tiOPF2/Source/Core/tiBaseMediator.pas $0809BECC TSTRINGGRIDMEDIATOR__REBUILDLIST, line 497 of ./gui/tiListMediators.pas
$080988F8 TCUSTOMLISTMEDIATOR__UPDATE, line 1195 of /home/graemeg/programming/3rdParty/tiOPF2/Source/Core/tiBaseMediator.pas $080618DE TTIOBJECT__NOTIFYOBSERVERS, line 3941 of /home/graemeg/programming/3rdParty/tiOPF2/Source/Core/tiObject.pas $0806185F TTIOBJECT__NOTIFYOBSERVERS, line 3926 of /home/graemeg/programming/3rdParty/tiOPF2/Source/Core/tiObject.pas $08096218 TMEDIATORVIEW__SETACTIVE, line 500 of
/home/graemeg/programming/3rdParty/tiOPF2/Source/Core/tiBaseMediator.pas Call trace for block $B6F95718 size 16
$080AC422 MAINPROC, line 104 of tutoradmin.lpr
$080B2577 MAINPROC, line 104 of tutoradmin.lpr
$08130EC8 TTRANSACTIONDISPLAY__CREATECUSTOM, line 83 of transactiondisplay.pas
$08098737 TCUSTOMLISTMEDIATOR__CREATE, line 1164 of /home/graemeg/programming/3rdParty/tiOPF2/Source/Core/tiBaseMediator.pas $0809C5BA TPROPERTYLINKDEF__CREATEMEDIATOR, line 188 of /home/graemeg/programming/3rdParty/tiOPF2/Source/Core/tiFormMediator.pas $0809C97E TFORMMEDIATOR__CREATEMEDIATORS, line 285 of /home/graemeg/programming/3rdParty/tiOPF2/Source/Core/tiFormMediator.pas $0809CA09 TFORMMEDIATOR__BIND, line 299 of
/home/graemeg/programming/3rdParty/tiOPF2/Source/Core/tiFormMediator.pas $0809C7F0 TFORMMEDIATOR__SETACTIVE, line 247 of
/home/graemeg/programming/3rdParty/tiOPF2/Source/Core/tiFormMediator.pas ----------------------------------
Regards,
- Graeme -
