Recursive Class Instance Size in Delphi

后端 未结 5 529
北海茫月
北海茫月 2021-01-14 02:17

Is there a way to get the actual size of a class instance in Delphi?

I know about the InstanceSize method of the TObject class but that method does not recursively i

5条回答
  •  说谎
    说谎 (楼主)
    2021-01-14 02:25

    to find out how much memory it uses, you could let the objects not get freed & let FastMM tell you the size of the leak.

提交回复
热议问题