Search in the server memory and see which script or service is holding all that memory.
it seems that scripts arent taking any memory
PlaceScriptMemory - 16MB
CoreMemory - 3225MB
network/replicationCoalescing - 159MB
physics/broadphase - 67MB
network/replicator - 333MB
default - 112MB
network/raknet - 35MB
network/megaReplication - 1895MB
network/sharedQueue - 53MB
internal/RCCService - 65MB
network/streamingReplication - 91MB
network/streamingSolver - 311MB
PlaceMemory - 1978MB
Signals - 312MB
PhysicsParts - 795MB
Gui - 276MB
Instances - 453MB
UntrackMemory - 1143MB
this was when the server crashed with like 30 people
There seems to be a spike in memory with Replication
, Place Memory
, and Untracked Memory
. So maybe this has something to do with remote events or a lot of constant change in instances. I don’t really know how to find out where that memory is coming from, maybe the microprofiler will help.
It could also be due to the system you have that interacts with all 30 players.
Because, 30 players is a lot in one server, your system might be using too much memory for each player. So I suggest either reducing the server size, or trying to optimize things.
There could also be a bug in your code that runs code for every player, and starts some recursive loop to every player again, or something bad like that. Like a script that loads each player using PlayerAdded, but that script is actually in a player, so it reruns for every player.
i have tried everything for the past 3 weeks all i have done is look through every script and thing in the game and still cant fix it network/megaReplicationData is what is lagging the game i think but idk what it is
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.