Commit Memory Leak in URC Visual Studio Extension

Summary

I am able to reproduce this on my PC and new laptop, which I got 3 weeks ago. Reinstalling the URC extension does not resolve this issue. This issue seems to have been experienced by others I have talked to who also programs in verse, as well as our designer who does not use Visual Studio (a very fresh Visual Studio Client). Some have this more/less than others, while I have it every time I launch VSCode with URC.

With the Unreal Revision Control (VS Code Extension) enabled, upon booting up everything seems normal. As soon as I start coding, VSCode’s extensions crash and reboot.

Upon investigating using Windows Event Viewer, VSCode Logs, and Task Manager, I have discovered that every time I initially start coding with URC enabled, my VSCode’s extension host Committed Memory jumps higher and higher until my limit (79.6GB) causes a crash.
It is worth noting that with URC disabled I get a stable, expected 904,000K commit size, and with it enabled I see an idle at 25,000,000K (25GB) (22,000,000K [22GB] on my laptop). It appears to remain stable at this unusually high number until I type, at which point committed memory climbs in roughly 3 GB jumps per Task Manager refresh (~2s) and visibly accelerates — the final ~40 GB is consumed within a single refresh interval, so it crashes before Task Manager can update again. Growth appears exponential rather than linear. I have tested this as the only extension enabled (alongside Verse) and verified it happens only with this extension on (Couldn’t replicate with only Verse).

I was tempted to say that this was some sort of project level corruption, but it follows me on any project I work on and is rather annoying as I rely on being able to see those green, blue and red lines more than I’d like to admit to remember what I’ve touched in a session.

Project size seems irrelevant to this bug.

Version information:
UEFN:
Version: 5.8.0-54872343+++Fortnite+Release-41.00
Platform: Windows 11 (25H2) [10.0.26200.8655] (x86_64)

VSCode:
Visual Studio Code 1.125
Unreal Revision Control (epicgames.urc-vscode) Version 1.0.53853765

System:

Windows 11 Version 25H2
OS build 26200.8655

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Unreal Revision Control

Steps to Reproduce

  1. Install UEFN/Fortnite
  2. Open VSCode in a project
  3. Wait for extensions to load (ensure URC is enabled)
  4. Use task manager to view Commit size (if unusually high, you will be able to replicate)
  5. Start typing in VSCode in any verse file in your workspace (no saving needing)
  6. Immediately notice spiking of Commit size in task manager, followed by a crash of VSCode’s extension host.

Expected Result

Extension works and integrates with project well and successfully, without an unusual memory commit size.

Observed Result

Exponential (accelerating) commit-size growth on typing, until the ~79.6 GB ceiling is hit and the extension host crashes.

Platform(s)

Windows 11 (VS Code)

Additional Notes

EPIC: I can provide screenshots, log files, setups, and more if they would be helpful, but would prefer to do so in a non-public manner. Please contact me if you would like this information.

@bigyap Thanks for this report - we’ll attempt to reproduce this. In the meantime could you please send a zip of your logs folder C:\Users\USERNAME\AppData\Local\UnrealEditorFortnite\Saved\Logs to me on discord at epic_garren?

FORT-1120533 has been added to our ‘To Do’ list. Someone’s been assigned this task.