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).
Could you give me an example of such leaks?
Has there been any improvements (or experiments) so far on server memory?
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.
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.
Update: Game been unplayable & impossible to join for the past 3 weeks
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.
The game starts again, but without a large player count (~ 15-20 players), it’s unsustainable. I wish for double the gigs of the max memory as the new max memory instead of 6.4 gigs or whatever the starting maximum memory is. So that would be going from 6.4 gigs to 12 gigs. Even 10 gigs would be nice.