Skip to content
Valheim Cheats logoValheim Cheats

gc Console Command

Documentation and detailed help with working examples.

Updated

Cheat
This command displays garbage collection information.
Examples

Here is an example of how to use gc.

Prints the current garbage-collection statistics to the console.

In-Depth Description
The `gc` command prints garbage collection information to the console — counts of allocated objects and recent collection activity.
Quick Overview
The `gc` command is used to provide information about the game's garbage collection system. Garbage collection refers to the management of memory within the game, specifically how it handles the disposal of objects that are no longer needed or used. This can give insight on game performance and potential issues with resource allocation.
More Cheat Commands