What is "Replicator GC Job" In micro profiler?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want to figure out what “Replicator GC Job” is.

  2. What is the issue? Include screenshots / videos if possible!
    Replicator GC Job is what popped up in microprofiler. I was debugging on mobile since my players have been dealing with a crazy FPS spike, mainly mobile players, and when it would happen, “Replicator GC Job” would basically spike up like crazy.

As you can see, its obvious that it is that when the spikes do occur, I just have no idea what Replicator GC Job is.

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Yes I tried to research what Replicator GC Job is, but I could not find any documentation about it, and I genuinely didn’t know where to post this, so I just posted it in scripting help.

I know for sure its probably a rendering thing, as on my own PC (is pretty high end) I get 0 spikes in game, but its mainly a problem for my mobile player base, and I barely just now did micro profile tests on mobile. If anyone knows exactly what Replicator GC Job is indicating, that’ll be great, as I would like to know what exactly it is.

1 Like

It’s something related to garbage collection. I doubt it’s related to rendering - if you had GC running every frame, your game would be absolutley unplayable.

1 Like

GC usually is garage collector. The gc frees memory for data structures that are no longer in use.

If you are creating a lot of instances or tables every frame, maybe that could be something to look out for.

But in general the garbage collector is usually not a problem.

It is typically optimized a lot in languages such as javascript, java and luau.

2 Likes

When it does occur within microprofiler that’s when the game starts to have a big spike for a few seconds.

It never occurs on PC, just mobile. Only reason I woulda thought rendering, is due to the FPS spikes when it does occur.

Ill keep looking. Thank you.

The game is definitely somewhat playable if mobile players are still playing, but they definitely do not have a good time thats for sure,

as the “spike” happens pretty common and consistent, and when it does happen, its always “Replicator GC Job”.

However, I do not experience any lag when I play on my PC, and ive asked my community, and its usually mobile players that are complaining about it lol.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.