MemoryUsage

class MemoryUsage(val totalObjectsSizeBytes: Long)(source)

This class represents statistics of memory usage in one memory pool.

Since Kotlin

1.9

Constructors

Link copied to clipboard
constructor(totalObjectsSizeBytes: Long)

Properties

Link copied to clipboard

The total size of allocated objects. System allocator overhead is not included, so it can not perfectly match the value received by os tools. All alignment and auxiliary object headers are included.

Since Kotlin 1.9