Am 03.03.2016 03:07 schrieb "silvioprog" :
> Now, if you compile and run this project below with -gh:
>
> program project1;
>
> {$mode objfpc}{$H+}
>
> begin
> end.
>
> You will get:
>
> Heap dump by heaptrc unit
> 47 memory blocks allocated : 1173/1280
> 47 memory blocks freed : 1173/1280
> 0
On Tue, Mar 1, 2016 at 12:08 AM, Mazola Winstrol
wrote:
[...]
>
> I apologize, it works.
>
Do you have plan to share it in some place like Github, Lazarus-CCR or as
Lazarus generics demo? Just a idea, because this implementation sounds good.
--
Silvio Clécio
Hello,
Just create a project like this:
program project1;
{$mode objfpc}{$H+}
uses heaptrc;
begin
end.
Now, compile and try to run that, you will get this error:
Heap dump by heaptrc unit
0 memory blocks allocated : 0/0
0 memory blocks freed : 0/0
0 unfreed memory blocks : 0
True heap si