This is the second time I post this, but this time I’ve actually got some good microprofiler dumps.
Brief explanation:
In my game about roblox football there is this enormous lag caused by one of roblox’s core scripts, When there is a lot of players in the server (usually 70-100+), once someone chats this core script takes up unnecessary amount of frametime. And all it appears to be doing is setting TextTransparency and TextStrokeTransparency for like thousands of times!
I’ve tried a lot of ways to fix this, but none worked. Hiding the chat with StarterGui:SetCoreGuiEnabled doesn’t fix the issue, as well as doing it with ChatConfiguration.
Dump 1: microprofile-20251010-221257.html (4.3 MB) At the time of recording there were 128 players, with around 50-minute server uptime. Players were actively chatting.
Dump 3: microprofile-20251010-223009.html (5.3 MB) At the time of recording there were 138 players, with 70-minute uptime. You can see 3 lag spikes in a row.
A thing I forgot to specify, in all of these cases I wasn’t opening/closing the chat, nor doing anything anything else, no inputs at all (moving, typing, etc).
I really hope this problem gets fixed, as it ruins the experience for every player in my game, especially for the football players as it is very hard to play with this lag.
Hello, thank you for the detailed report! We are currently working on some optimizations on the Text Chat Window that should address this. The changes should be ready later this year and we will post an update when that happens in your previous thread
When will the fix go live? I and others have this memory leak, it haunts me in every Roblox game i join and play for 30+ minutes while people chat (as long as people chat enough, it starts happening after some time, still happens to me with server playercounts of 5 and such), every-time i hover over Roblox chat, chat appears or disappears, i get extreme lag even when using the /clear chat command.
Here is the latest video i have of the lag (when i hover over chat several times, the lag is very bad but when i stop hovering over it, the lag stops temporarily):
Unfortunately this thread of mine hasn’t received an update by staff since it was created.
The original topic was a bit aimless because when when i saw “SchedulerHostConfig” i didnt really think chat could be behind it we got to that cause eventually.
from what i’ve experienced, interacting with the chat (ex: hovering your mouse over it and off it, openning chat, sending a message) will cause frames to drop (after 2h of chatting, the game can freeze for basically 10 seconds when interacting with the chat)
the more messages has been sent since joining a server, the harder the fps drops;
being in a server for like 7h without any messages will cause lag. i believe this memory leak is being caused by the rephrase feature (even when no one is getting rephrased)
/clear command does not fix the fps drops, however rejoining does.