gcprobe
Advanced diagnostics: number of game VMs (vm_count), per-VM stats (G/L addresses, table counts, string-key samples) and ammo_vm — the index of the VM holding the tracked data. Mostly a debugging tool.
Syntax
gcprobe() -> table
Parameters
This function takes no parameters.
Returns
| Type | Description |
|---|---|
table | Table |
Description
gcprobe 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 operation is performed immediately using the arguments supplied at the call site.
Example
local probe = gcprobe()
print(probe.vm_count, probe.ammo_vm)
Notes
- GC results depend on the live game heap and collector state.