Studio Fills Up RAM Upon Opening Place (Memory Leak?)

Roblox Studio rapidly fills system RAM on opening place. Repro place in private content, contains only a few big scripts.
{B02E05A5-D884-41F6-8DC5-808B6BF9828A}

Happens on both Windows 11 and Linux (NixOS with vinegar).
System:
16 GB RAM DDR4
AMD Ryzen 5 3600X
AMD Radeon RX 7600

Possibly related: Studio is using WAY more ram than it should ever be using

A private message is associated with this bug report

Thank you for raising this issue. A fix has been made and will be enabled soon.

Will the fix address Roblox Studio also filling up virtual memory?

Before I close studio:
image

After I close studio:
image

It should. For extremely large scripts like the ones in your place, we already skip syntax highlighting, but we weren’t skipping type checking, which consumes quite a bit of memory.

We’ve now added a new rule: if a script is too large for Studio to do syntax highlighting, we’ll also opt out of type checking, autocomplete, etc. for anything related to that script. Your other scripts should be unaffected.

1 Like

Great, thank you! I will let you know if this resolves my issues.