Increasing Server Memory Experiments

You probably have a memory leak in your code, which is extremely common (usually it’s not your fault, its an issue with scripts holding references to objects after you don’t need them).

1 Like

Could you give me an example of such leaks?

This post has some information: Massive PhysicsPart memory leak results in server crashes

Has there been any improvements (or experiments) so far on server memory?

1 Like

our game crash at 7449

2 Likes

My game seems to have a memory cap of around 6.5GB. It seems like there are different memory caps on each server.
It’s still not enough for a huge map like mine (huge road network), but it’s still better than the previous 6.25GB memory cap.

1 Like

Our map is also the same (CatsGoesMeowMeowMeow’s game), we start off with around 6 GB usage at the very beginning because we have a huge map (Northeast NJ/NYC road network) and once we start spawning in our buses and other vehicles, depending on how many players are in the game, we go past our limit relatively easily.

It would be better if we could have an increased starting memory cap like 8 GB, 10 GB, or even double the current limit, 12 GB instead of the current cap which is a little over 6 GB without using the dynamic memory allocation that ROBLOX has added (50 MB added for every player that joins.)

The dynamic memory allocation is how we achieved a higher limit of 7450 MB since we had 18-20 players join (don’t remember the exact amount.) However, for our huge map, it’s still not enough to sustain a whole server session that can last several hours to be able to give our players a complete experience.

1 Like

Update: Game been unplayable & impossible to join for the past 3 weeks

1 Like

I’ve seen my servers go above 7.450GB right after I published a new update, to around 7.6GB+ until it starts crashing. There are around 25 players in each server, so I guess there was “dynamic memory” after all.

2 Likes