getInstanceSize

getInstanceSize(jdo: JadeDynamicObject input): Integer64;

The getInstanceSize method of the Object class returns the total byte size of the receiving instance, including the size of the fixed object overhead, all embedded properties, and all subobjects that have been instantiated for the instance; that is, blobs, exclusive collections, and dynamic property clusters.

The optional JadeDynamicObject, specified in the jdo parameter, is populated with the following properties.

Property Return Type Contains...
instanceSize Integer64

Size of the instance, excluding subobjects and clusters

blobsCount Integer64

Number of blob instances, including slobs and slobUtf8s

blobsSize Integer64

Total size of blob instances, including slobs and slobUtf8s

collectionsCount Integer64

Number of exclusive collection instances

collectionsSize Integer64

Total size of exclusive collection instances

clustersCount Integer64

Number of cluster instances

clustersSize instanceCount

Total size of cluster instances

2022.0.06, 2025 R2, and higher