WHAT I FOUND ON MY PC
2.50 GiB
The configuration file contained 2,684,433,097 bytes. A normal configuration should be tiny by comparison.
This is the problem I found after FiveM started taking 20–30 minutes to open. The fix is simple, but check the file size first because this will not be the cause for everyone.
WHAT I FOUND ON MY PC
2.50 GiB
The configuration file contained 2,684,433,097 bytes. A normal configuration should be tiny by comparison.
WHY REINSTALLING DIDN'T FIX IT
%LOCALAPPDATA%\FiveM.%APPDATA%\CitizenFX.Root cause
After a FiveM crash, the persistent fivem.cfg file became massively bloated with configuration and saved binding records. FiveM then had to process that file during every launch.
That processing created heavy CPU, memory, and page-fault activity before FiveM could finish initializing its Chromium/NUI interface. The Rockstar Launcher popup was visible during the process, but it was not the underlying cause in the confirmed case.
fivem.cfg is already small, stop here and investigate a different cause.Recognition
Read-only check
Exit FiveM, then open Task Manager and confirm there are no remaining FiveM processes. Do not force-close processes unless the program is genuinely stuck.
Press Windows + R, paste the following path, and press Enter:
The expanded path is normally C:\Users\<username>\AppData\Roaming\CitizenFX.
Right-click fivem.cfg, select Properties, and check its size. A file measured in hundreds of megabytes or gigabytes is clearly abnormal.
Optional read-only PowerShell check:
Safe recovery
For example, create FiveM-Config-Backup on the Desktop. Do not upload the raw configuration publicly because it can contain personal settings and bindings.
Move %APPDATA%\CitizenFX\fivem.cfg out of the CitizenFX folder and rename the backup to something obvious, such as fivem.cfg.backup.
Do not delete or move the other CitizenFX files. Do not restore the oversized file after the test.
Start FiveM normally. It should load with default client settings and create a fresh, small configuration when needed.
If the menu opens promptly and renders correctly, the oversized configuration was the cause. Reconfigure preferences and keybinds manually rather than copying the old file back.
Decision point
Hundreds of MB or multiple GB strongly indicates corruption. Back it up, move it out, and test a fresh launch.
Do not delete random folders. This specific diagnosis is not confirmed; collect startup logs and process evidence instead.
Verified case
| Damaged file | %APPDATA%\CitizenFX\fivem.cfg |
|---|---|
| Measured size | 2,684,433,097 bytes (2.50 GiB) |
| Before reset | Approximately 20-minute delay, multi-gigabyte memory usage, high CPU/page faults, and corrupted NUI. |
| After backup | FiveM passed the Rockstar handoff, created its rendering backbuffer within roughly one minute, and opened normally. |
| Why reinstall failed | The roaming CitizenFX configuration was outside the normal FiveM installation directory and survived reinstalls. |
Avoid collateral damage
Next steps
A small fivem.cfg, or no improvement after isolating an oversized one, means a different issue is involved. Preserve the backup and collect:
CitizenFX_log*.log files from %LOCALAPPDATA%\FiveM\FiveM.app\logsCitizenFX.ini IVPath