Hello, FPC developers' list.
What should MemSize function do? Should it return the same info for statically allocated memory?
I don't see any documentation on MemSize function here: http://freepascal.org/docs-html/rtl/system/memoryfunctions.html
So I decided to test it since we rely on it in LCL:
var
Data: array[0..2] of Integer;
begin
WriteLn(MemSize(@Data[0]));
end.Without heaptrc on 32bit windows:
4294967284
With heaptrc:
0
Best regards,
Paul Ishenin.
