Increasing Server Memory Experiments

Hi, what are you working to build?

2 Likes

Might something like this eventually be possible for CPU/Networking as well? I have concepts for games that could easily target 200+ players moving around in various vehicles all across the map. Right now current servers and default physics replication make this a difficult feat to accomplish without tons of lag. I always thought the ability to rent out ‘high powered’ servers would be good, for when someone might want to host a limited event with tons of players that a typical server might not be able to handle.

3 Likes

A 1;1 recreation of northern new jersey and its transportation network. It is a fairly large game but as of recently its been impossible to play the game without the server crashing with more than 5 people.

5 Likes

Thank you for the feedback. We don’t have plans to share at this time re expanding CPU/networking, but your input helps us determine roadmaps.

3 Likes

Thank you Josh! That’s very fair about using the internal automated systems in #feature-requests and #bug-reports! I am unfortunately unable to use either channel even after sending join requests to the AllowBugReports and AllowFeatureRequests groups, so I can’t share any ideas using the internal processes of the forum.

2 Likes

Is there any API or method to get the value of the maximum server memory and memory usage?

Perhaps it’ll be useful when it come to my mining game.

2 Likes

Update: Despite 0 changes in the game since august 8th/now nobody can even play the game while giving a “server shutdown” or a connection attempt error message

3 Likes

Has there been any changes to memory since? The last change I experienced was the max memory limit being decreased from 6880 to 6640 on one of my games and that’s all.

2 Likes

That’s true. I was playing a game that I made with my friends, and after about 10-20 minutes, everyone starts to lag and about a minute later, the whole server shuts down on its own. I first suspected it of being a virus or my game being DDoS’d, but upon closer inspection, it doesn’t seem to be any of those problems. This issue is taking a hard toll on my group, since we can’t even play the game for a short period of time without having the server shutdowned automatically for the whatever reason.

2 Likes

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).

2 Likes

Could you give me an example of such leaks?

1 Like

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

1 Like

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

2 Likes

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

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.

2 Likes

Is there any updates on the server memory experiments?