Game's Performance

When I go to memory what do I look for in it? I do this but idk what should I read from it, someone told me LuaHeap before, but idk when is it bad. I don’t have enough information of when something is bad.

1 Like

Look in everything and you will see what are the things giving memory problems.

Currently everything is bellow 30 Except Terrain, is like 100 +

Is your game using streaming enabled? It helps with memory on lower end devices such as xboxs and phones.

1 Like

You can use the script performance window in the studio view tab (view → script performance). For client scripts, and for server scripts F9 → scripts

1 Like

Client:

Server:

I don’t have streaming enabled on because it glitches some of my scripts, meaning I will have to edit the scripts and adapt them to the Streaming Enabled feature.

It would be great to test the game on other platforms with different specs. Script performance is unreliable imo because it is different based on the device your using, for example it would be much lower if your using a better a computer than it would be on a slower computer. For example, one of my scripts when it is activated it has an activity level of about 0.2% on the better computer, but on the slower computer it would be 2%. So if you have a good pc, and it has such a high script activity level that may be a bad thing.

1 Like

Concerning the problem you mentioned, I’ve had this happen in another place. I believe it was because of a backdoor (put in free models) or a memory leak. Just make sure those dont exist

Edit:
Video of it here: https://youtu.be/UCbDYapvtn4
This also may happen because of a sudden jump in usage on the server. (Above 90%)

1 Like

UntrackedMemory looks bad. Thats potentially a memory leak.

1 Like

How do I know if I have a memory leak, I haven’t used free models and if I do I delete its scripts.

1 Like

What do you mean by other platforms? Apps?

It may not be, there is a roblox bug where untracked memory is high even on a empty baseplate for some platforms.

2 Likes

Like phones, tablets, laptops, etc.

1 Like

Probably, I’m not the expert at memory leaks.

2 Likes

Currently it works in all my devices. I haven’t received any crash as well in the Developer Stats.

Well then that is a good sign that everything is ok.

1 Like

The glitch of some people that can’t walk used to happen in the Roblox App that is found in the Microsoft Store. The glitch used to happen in that specific app, now it doesn’t happen. I just heard is in some devices.

For more information on improving your game’s performance you can use: https://developer.roblox.com/en-us/learn-roblox/optimization

2 Likes