Collecting Memory Logs
When Zenith crashes or hangs, memory logging can help identify the root cause. Follow the steps below to enable and collect a memory log for analysis.
Enabling Memory Logging
Update your Zenith configuration file with the following entries:
[log-uefi]
target = "MemoryBuffer"
[log-vmm]
target = "MemoryBuffer"
[memlog]
address = 0xf80000000
capacity = 0x40000000
A detailed explanation on how to use a custom configuration can be found here.
Configuration Details
-
address— Currently configured for a 64 GB RAM system (0xf80000000).
It’s recommended to choose an address roughly 2 GB below your total system memory. You may need to adjust this value depending on your specific RAM size.Common configurations RAM available Config Value 16 GB 0x38000000032 GB 0x78000000064 GB 0xf80000000128 GB 0x1f80000000 -
capacity— Defines the maximum memory reserved for logging.
The default value of 1 GB is typically sufficient and can remain unchanged.
Boot Process
-
Create a Zenith bootable USB stick using the updated configuration.
A detailed explanation on how to use a custom configuration can be found here. -
Boot from the USB stick.
You’ll be prompted to press F10, as no memory log exists yet — this is expected. -
Run Zenith and observe its behavior (e.g., wait for the crash or hang).
If the system hangs for about a minute, press the reset button on your PC (do not power off). -
Boot again directly from the Zenith USB stick.
This time, Zenith should indicate that a memory log has been successfully written. -
Remove the USB stick, reset the PC, and boot normally into your operating system.
Extracting the Memory Log
These memory logs are not human-readable.
Specialized tools are required to interpret them.
You can simply share the memlog.bin file in Discord for analysis.
After booting back into your normal operating system:
-
Reinsert the Zenith USB stick.
-
Extract the memory log using the Zenith installer:
# Hint:
# You have to run the command line as administrator.
.\zenith-installer.exe internal collect-memlog memlog.binThe log will be saved as
memlog.binin your current working directory.