On this page:
gc
minor_  gc
incremental_  gc
current_  use
cumulative_  use
8.16.0.2

17.1 Memory Management🔗ℹ

 import: rhombus/memory package: rhombus-lib

function

fun memory.gc() :: Void

 

function

fun memory.minor_gc() :: Void

 

function

fun memory.incremental_gc() :: Void

Forces an immediate garbage collection:

function

fun memory.current_use() :: Int

 

function

fun memory.cumulative_use() :: Int

Returns the amount of memory allocated: