MemoryUsageFn

sealed external interface MemoryUsageFn(source)

Functions

Link copied to clipboard
abstract operator fun invoke(): MemoryUsage

The process.memoryUsage() method iterate over each page to gather informations about memory usage which can be slow depending on the program memory allocations.

Link copied to clipboard
abstract fun rss(): Double

method returns an integer representing the Resident Set Size (RSS) in bytes.