Questions tagged [leakcheck]
3 questions
7
votes
1 answer
TTaskBar memory leak
Embarcadero's TTaskbar has a memory leak. Since I dropped this control on my form, FastMM reports a leak every time I close the app.
I tried to mute FastMM with this code:
procedure TMainForm.FormCreate(Sender: TObject);
begin
…

Gabriel
- 20,797
- 27
- 159
- 293
2
votes
1 answer
How to handle "false" / expected memory in DUnit using LeakCheck?
In order to prune out all of memory leaks I am trying to incorporate LeakCheck library into DUnit. The problem is that LeakCheck will report me memory leaks that are not true leaks. These are objects or other stuff allocated by RTL and destroyed on…

Wodzu
- 6,932
- 10
- 65
- 105
1
vote
1 answer
How to force LeakCheck Delphi library to not collect data?
I use Delphi's LeakCheck library https://bitbucket.org/shadow_cs/delphi-leakcheck.
I know I can disable leak reporting using a construct like this:
{$IFDEF DEBUG}
System.ReportMemoryLeaksOnShutdown := true; // this will enable LeakCheck to display a…

Gad D Lord
- 6,620
- 12
- 60
- 106