Reproduction Steps
System Information
Intel Core i9 9900K
16GB DDR5 RAM
Nvidia GeForce RTX 2080Ti
Edit: Sometimes you’ll get a bad allocation error so I recommend changing the size of the string if that happens.
Edit 2: Only seems to work in studio, could this report be moved?
Repro
workspace:WaitForChild(string.rep("a", 2 ^ 30))
Expected Behavior
Roblox should not crash and possibly throw an error.
Actual Behavior
Roblox freezes and crashes.
Issue Area: Engine
Issue Type: Crashing
Impact: Low
Frequency: Very Rarely