Massive memory leak in script editor completely stopping me from developing

Within the last 2 weeks something changed that makes this happen.

  • On a Razer Blade Pro with windows 10
  • Connected to KC Testing, a TC place
  • Writing in the script StarterGui.GUI.Large.Inventory
  • Watch memory go up (the second column)

https://i.gyazo.com/fdfcae013bc492ab3834be320e565099.mp4

The problem is exponentially worse after coming out of play solo. After just a few seconds of writing code I completely run out of memory.

https://i.gyazo.com/cb47e1565b9c4bbfbefe5d87d840a50e.mp4

3 Likes

Ok, now this is happening on my desktop. Please fix this ASAP. This makes it impossible to develop.

I was wondering why all of my ram was filled up just testing with a couple players and a server. This was probably it. Also on Windows 10, and also on a Team Create place.

If you copy the script over to an empty baseplate, can you still reproduce? If not, by enabling Team Create for that empty baseplate, can you reproduce it then? Or does it only happen in this one place?

Can’t easily reproduce this. What Studio plugins do you use?

No plugins on my laptop. Use the place file I linked. Write some code in Inventory, go into play solo, come out, and continue writing code. That should do it.

Just got this bug as well.

Script editor was acting extremely slow, then studio stopped responding. Luckily because I work with @Sharksie I was aware of this bug so I opened task manager and saw the process collect 200MB of ram per second. I killed the task before it killed my pc.

(Same place, so I’ve disabled the flag as well)

1 Like

If anyone else is running into this, the flag for the feature that causes it is FFlagStudioAutocompleteImprovementsV2

Thanks for the report! This should now be fixed.

2 Likes

It’s worse now. Happening in scripts that it never used to happen in. @twberg

Specifically the RS.Game.Pet script in the place I linked in the OP.

1 Like

Hmm. I tried typing in that script and I am not seeing a large increase in memory.

What version are you on? Are all flags in the default state? Did this just start happening recently?

I haven’t changed any flags. The way I reproduced it is to write some code in Pet, play solo, stop play solo, then continue writing code in Pet. Studio immediately locks up and memory usage explodes.

This is caused by the same flag, and fixed by disabling it.

This still happens. Roblox studio is literally unusable if I don’t disable this flag.

We have another fix for this that should be live after next week’s release. Apologies for the inconvenience.