[Lazarus] Finding memory leaks
Aradeonas
aradeonas at operamail.com
Sat Oct 24 14:51:09 CEST 2015
Hi,
I have a program that use many units and just now I find out program
memory usage will increase slightly after time. I checked all of my
objects and I free them,also I used DumpHeap for finding memory leaks
but its a big report and many other simple programs have many report
like this and I cant find anything good in it. Is there any way to count
objects or whatever so I can find what object will not free?
I cant gett much of help from report becuase its very big (about 100,000
line) and it have many items like this :
> Call trace for block $0030EEC8 size 88 $0049664B
> TFONTHANDLECACHE__ADD, line 104 of ./include/font.inc $00497F37
> TFONT__REFERENCENEEDED, line 1157 of ./include/font.inc $00498275
> TFONT__GETREFERENCE, line 1277 of ./include/font.inc $0041FE77
> SCREENGETSYSTEMFONT, line 51 of ./include/screen.inc $0049A6B1
> TCANVAS__TEXTRECT, line 1290 of ./include/canvas.inc $00520133
> TCUSTOMPANEL__PAINT, line 127 of ./include/custompanel.inc $004FF413
> TCUSTOMCONTROL__PAINTWINDOW, line 126 of ./include/customcontrol.inc
> $BAADF00D
>
Or it address end of procedures or ... . So how can I find out what is
the problem? Regards, Ara
--
http://www.fastmail.com - Email service worth paying for. Try it for free
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151024/f9592623/attachment-0002.html>
More information about the Lazarus
mailing list