TObject.InstanceSize function
Return the size of an instance.
Declaration
class function InstanceSize: SizeIntDescription
InstanceSize returns the number of bytes an instance takes in
memory. This is Just the memory occupied by the class structure, and does
not take into account any additional memory that might be allocated by the
constructor of the class.Errors
None.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
