Yuari
Documentation

getgc_info

Snapshot of the game's GC state: kb, gcstate, isrunning, pause, stepmul, pages, gray, grayagain, weak, total, by_type, samples, plus the addresses L and G as hex strings.

Syntax

getgc_info() -> table

Parameters

This function takes no parameters.

Returns

TypeDescription
tableTable

Description

getgc_info is part of the GC & memory scanning library. GC helpers read the game's Luau heap from outside the process and can inspect or control the collector.

The call is read-only: it resolves the current value when invoked and does not change the underlying state.

Example

local info = getgc_info()
print(info.kb, info.isrunning, info.L)

Notes

  • GC results depend on the live game heap and collector state.