I’m not sure if this has already been posted about, but I couldn’t find a thread on it after a quick search. Over the past week I’ve been experiencing terrible performance on my computer with Google Chrome, connection speed, and Roblox studio. I’m aware quite a few other developers have been experiencing this as well. I may have found the culprit. After looking at my Task Manager for a bit, the memory usage on a Team Create I have open just keep ascending. My computer’s performance will continue to get worse until something crashes, which at some point will be Roblox Studio but until then it crashes other programs that use RAM as well.
This isn’t to say I’m 100% sure this is a Roblox issue and not just my computer, but I don’t know why this would only be happening with Roblox Studio and no other programs. No other games I’ve tested are having these kinds of memory/CPU issues. Even while typing this, my computer has been stuttering and on the brink of closing out of a few programs.
There may have been a small memory leak that was in fact my fault that I’ve since cleared up, but I don’t think that was what was causing the performance issue here. There’s an even bigger memory problem:
The plugin called plugin:GetSetting() very often (4 times per frame) instead of caching values. This hasn’t been an issue before, but recently it seems that an update caused :GetSetting() to have a memory management issue. I’ll probably file a bug report for this, but if you want to try it out yourself I’ve made a plugin just to test it:
When enabled the plugin causes memory usage to increase without stopping.
Initial memory usage:
Memory usage after about a minute of having the plugin enabled:
When the plugin is disabled the issue stops.
Needless to say I’ve fixed the issue, at least in my plugin. If you’re using it you should update immediately. If you have a plugin that you know uses :GetSetting(), make sure it’s not calling it too often until this is fixed.