When I just open Studio, there is 2GB of memory. When I open a project, there will be 4.4GB of memory. When I start the single-player game test, it will have 6.7GB or even more memory usage。
Expected behavior
Under normal circumstances, the memory should not exceed 4GB, and one should not apply for memory indefinitely, which may cause a crash
When I close the current project and open the previous one, the maximum memory becomes 8.7G. Moreover, when I start the game and wait for a period of time, the memory will significantly shrink, or opening multiple editor will also reduce the memory of the opened project
Would you be willing to send in the rbxl via Direct Message so we can analyze its memory usage? We are working on reducing studio memory usage generally, but more specific data is always very helpful.
I can’t send the rbxl file of the project because it doesn’t belong to me. I observed that every time it starts up, an Edge browser service is initiated. I don’t know if this is started by Roblox.
My current solution is to open two editor Windows each time, but only use one of them, and start the game and wait for half an hour until the memory drops before using it, in order to prevent the software from crashing.After these several updates of the editor, I found that the memory usage is not as large as before. A single project takes up about 4G and reaches its peak after startup, then continues to decline. I can start two clients for testing now:)
Just opened the project and started the game:
Sometimes it will continue to decline. Although I don’t know why, it’s a good thing for me.
During this period, I haven’t upgraded my computer system. I only updated Roblox Studio. I noticed that when I initially opened Studio without opening any projects, the memory usage has dropped from 2G to 1G. This is really great.If there’s anything else that needs to be tested, you can contact me. Thank you!
To close the loop on this topic: We have gone through a series of memory optimizations which has, on my machine, lowered initial start page memory to below 700MB, and lowered baseplate memory to about 1.3GB. We are continuing to work on further optimizations, but without access to the specific place we won’t be able to directly address its memory consumption except as part of the general optimization effort.
If you encounter any further stability issues due to memory usage (or any other reason for that matter), please don’t hesitate to file another report.