Server-side memory leak in telemetry/stat and RbxTransport/Protocol/ListenerHandler on long-uptime servers

Our game’s servers show a significant memory leak in two Roblox-internal system stats that appear independent of our own scripts. After 10+ hours of server uptime, roughly 380 MB of server memory is consumed by these two stats alone:

  • telemetry/stat
  • RbxTransport/Protocol/ListenerHandler

On a fresh server these values look normal. The leak only becomes visible after extended uptime. Other server memory categories remain stable. We previously also saw a network/replicator leak, but that one went away after we fixed actual script-side memory leaks on our end, so it may have been a downstream symptom. The two stats above do not go away regardless of what we fix on our side.

Our suspicion is that this is related to Custom Events, since our game fires them at very high volume, but that’s a guess and we cannot confirm without engine-side visibility.

Steps to reproduce:

  1. Join any live server of DUELS: DUELS | Play on Roblox
  2. Let the server accumulate 10+ hours of uptime (uptime is visible in the in-game Settings tab under server info).
  3. Open the server memory breakdown and observe telemetry/stat and RbxTransport/Protocol/ListenerHandler growing significantly over time while the rest of the breakdown remains stable.

Visual Aids:

Fresh Server:

Older Server:

Growth:

System Information:
Server-side issue, occurs across all live server instances of the game regardless of client platform.

Expected behavior

telemetry/stat and RbxTransport/Protocol/ListenerHandler memory usage should remain stable over server uptime rather than growing unbounded. Servers with long uptime should not accumulate ~380 MB of memory in Roblox-internal stats that developers cannot directly control or clean up.

Impact and priority: Low to Medium. The leak is not immediately fatal, but on long-running servers it contributes meaningful memory pressure we cannot address from our side.

Hi Marcel,

Thanks for reporting this issue!

We are aware of the memory growth you’re seeing and have been able to successfully reproduce it on our end. We are currently working on a fix, which is slated to go out this Tuesday or Wednesday.

I will post an update here as soon as the fix is live. Thanks for the detailed breakdown and the reproduction steps—they were very helpful!

Hey I wanted to say that this has been an issue for me as well, one of my servers has been up for over a day and that telemetry/stat and RbxTransport/Protocol/ListenerHandler are unresonably high, contributing to 3.7gb of memory


Hoping for this to get fixed!

Drill to Earth’s Core | Play on Roblox

Having same issue here. Also we have a pretty high crash rate for only the lobby. Not sure if it’s related.

That’s amazing! I thought it was something I had done and pulled my hairs out trying to find it!

My game is having the same issue with addition to RbxTransport/Protocol/ConnectionHandler also being high.
image

I’ve gone through and made sure there are no Unparented Instances through LuaHeap and I made sure players and characters are destroyed using the workspace property.

This issue was very sudden for us during a time where we barely put out any updates, so I was very confused.

hi, has there been any update on this case? i’ve been having the same issue for days and i’ve had to restart servers to keep them from crashing over time

It’s been a couple weeks now, could we get an update on estimated window for when the fix will be released?

It would be nice to know since we can proactively migrate players and shutdown servers when they get over a certain age if this fix won’t be live for a while

Have Zaibatsu servers been crashing? On my end it appears servers naturally lose players and die after nearing 10GB. I’m assuming matchmaking is factoring in server health.

Still though, very surprised to see no communication on this after the original message. I hope they can solve it soon!

Crashes are not common since it takes a while to get to that point, but I’m seeing roughly the same thing at around 10GB. I’m surprised more people haven’t noticed this issue lol

Right? I’ve spoken to some other devs and it has been noticed since but it seems to depend on the developer and how much they do.

I thought I was at fault for the longest time and spent days trying to find where I recently would’ve created a memory leak.

I’ve been experiencing same issue entire April month on my game. I hope this gets fixed soon.

@Skyfox417 Is there an update on this?

At this point it might be worth scripting a feature to shut down your servers when memory usage gets too high. Better to proactively shut down and gracefully migrate players to a new server than to crash abruptly. It’s been a month now, and the lack of communication doesn’t bode well for an incoming fix :roll_eyes:

Might be right, especially since other bugs like the default ExperienceChat accumulating more lag per message haven’t been resolved yet. Script_CoreScripts/ExperienceChatMain Very Slow - #123 by Kipukii
The lag got too bad and it wasn’t viable to ask players to rejoin every 30 minutes so I had to resort to using a custom UI :pensive_face:

Thankfully it seems to be that the algorithm phases our my servers long before they hit the 13GB limit on my servers.

Also experiencing this issue, hoping for a fix soon.

Sorry to hear that you’re also affected by this!

There’s been no communication about this, so I’m not confident that there is much progress. What I’d do is go to old servers and check your references through LuaHeap and make sure everything is getting garbage collected. This would help keep servers alive for longer.

Hoping for a fix soon too.

I’ve started migrating players with no version change.

Being May 31th, this issue is still happening in one of my games. Could we get an update about the fix?

Also seeing the same issue on projects I work on, ~400-600% growth entirely from System. Would love some insights and an ETA on the fix since this our servers often live up to ~2 days and this is impacting our user experience

Any update on this? Seems to still be a major issue. Our 50 player lobby for SPECTER ends up using over 4200 MB of server memory between telemetry/stat and RbxTransport/Protocol/ListenerHandler.