Unreal LLM tracking

LLM Tracker Overview

The Low-Level Memory Tracker can give you an overview of the memory footprint of your game, split by the numerous engine subsystems.

How to use

Enabling the LLM Tracker requires a few things:

  1. Set the Editor or Game in a configuration that is not Test or Shipping.

  2. Run the Editor or Game with an extra command line argument -LLM.

  3. Use the command stat LLM or stat LLMFULL.

  4. Monitor the stats for Gameface and Gameface Rendering.

Details

The provided integration uses these LLM stats:

  • The Gameface stat tracks the CPU memory allocated by the native Cohtml library and all the memory used by the Library, System, Views and all related functionality part of the Gameface plugin.
  • The Gameface Rendering stat tracks the CPU memory allocated by the Gameface’s native rendering library and all rendering related CPU memory such as buffers, textures, render targets, part of the Gameface and CoherentRendering plugins.

The stats above appear in the following LLM stat commands:

  • stat LLM - Shows the LLM summary. All lower level engine stats are grouped under a single Engine stat.
  • stat LLMFULL - Shows all LLM stats.

For enhanced visibility, Gameface and Gameface Rendering tags are visible in both stat LLM and stat LLMFULL commands, and their values are expected to be the same in both.