Lazarus
Using the Lazarus IDE => Debugger => Topic started by: anonymousstranger on September 21, 2018, 09:14:10 pm
-
when heaptrc reports memory allocation sizes, is the number in bits, bytes, or what? I'm assuming bytes but I'm not sure.
-
when heaptrc reports memory allocation sizes, is the number in bits, bytes, or what? I'm assuming bytes but I'm not sure.
bytes for sure:
$ cat a.pas
begin
GetMem(76);
end.
$ ./a
Heap dump by heaptrc unit of a
1 memory blocks allocated : 76/80
0 memory blocks freed : 0/0
1 unfreed memory blocks : 76
True heap size : 32768
True free heap : 32480
Should be : 32496
Call trace for block $00007F6BC7BD9100 size 76