My post is AI-Formatted, but the crashes and Script Analysis toggle fix are real.
On Studio 0.730.0.7300790 (Windows), having Enable Script Analysis turned on causes committed memory to grow linearly at ~1.1 GB/min with Studio completely idle (no scripts open, no input). Growth accelerates to ~2.3 GB/min while script sources are being edited. A fresh session reaches 15 GB working set / ~100 GB committed within the hour, at which point the machine (32 GB RAM) hits 95%+ usage and Studio freezes, then crashes.
Disabling Script Analysis at startup stops the leak completely. Toggling it off mid-session does NOT stop the growth — only restarting with the setting already off helps.
This looks like a regression of the March-2026-fixed report: Massive memory leak in Roblox Studio when enabling Script Analysis (languageServices/async grows indefinitely) (same signature: unbounded growth from language services), and may explain the open reports in Massive memory leaks when using studio for an extended period of time
Reproduction steps:
- Open a place whose scripts are dominated by large literal data tables in ModuleScripts connected through require() chains. Mine: ~530 scripts; the hot modules are 1,000–6,400 lines each, mostly table literals (game content definitions), all required by one large service module.
- Ensure Enable Script Analysis is ON (default). Open the place and do nothing.
- Watch committed memory in Task Manager: linear ~1 GB/min growth begins immediately and never plateaus.
- Restart Studio with Enable Script Analysis OFF: memory stays flat (~5 MB drift over 3 minutes) even under heavy scripted editing.
Measurements (PrivateMemorySize64 sampled every 20 s, same place and machine, four controlled runs):
| Run | Script Analysis | Activity | Result |
|---|---|---|---|
| A | ON | Editing script sources | 17,988 → 24,855 MB in 3 min (~2.3 GB/min) |
| B | ON | Fully idle | 7,637 → 11,034 MB in 3 min (~1.1 GB/min, linear) |
| C | Toggled OFF mid-session | Idle | Growth continued unchanged |
| D | OFF at startup | Idle, then editing | 2,340 → 2,345 MB in 3 min (flat) |
Stats:GetMemoryUsageMbForTag during run A shows the growth is entirely engine-internal: Internal = 15,445 MB, while LuaHeap = 435 MB, Script = 203 MB, Gui = 59 MB, Instances = 34 MB, Sounds = 26 MB, GraphicsTexture = 21 MB. Place content is negligible.
System information: Windows 11 Pro 10.0.22631, 32 GB RAM, Studio 0.730.0.7300790.
Beta features: none relevant enabled; LuauSolverV2 FFlag reads false in-session; reproduced with all third-party plugins disabled, edit mode only.
Expected behavior
Script Analysis memory should plateau after analyzing the place, and toggling it off mid-session should stop the analyzer and release its memory.
A private message is associated with this bug report