Increasing Server Memory Experiments

Take a look at the monitoring dashboard. We’re working to make this better, and please post feature requests in the appropriate DevForum category.

3 Likes

This update is only about server memory. Please post feature requests in the appropriate DevForum category for other current limits.

2 Likes

We’re working on a project which allows team based battles between hundreds of players in a single server (designed for 512 atm), to accomplish this we created a custom replication system which utilizes the new buffer and unreliable event objects alongside bit packing and client simulated characters alongside other careful optimizations at negligible tradeoffs. On release this project will likely be the first of its kind at this scale on Roblox or any other engine.

After thoroughly stress testing, the only factor preventing us from reaching this goal is the hard limit of 200 players per server for those who aren’t enrolled in the beta program. (Of which enrollment is now closed)

2 Likes

Yeah… I stopped watching the 700 Character enrolment program several months after I signed up as a Beta tester (+2 years ago).
Seems Roblox only lets a 0.00001 fraction to use that scale of players.
It’s harder to program a game without knowing the limits… so I stalled.

3 Likes

UntrackedMemory is the memory Roblox engine doesn’t track and cannot attribute to any source.

If we could categorize some part of it, that part will stop being included in UntrackedMemory.

3 Likes

I regret to inform that these experiments may have caused games which used the 700 player server size method to increase memory caps, to revert back to the strict 6.5gb memory cap.

This has already crippled one of my games which uses said workaround.

I have made a bug report here: Server Memory Cap for 700 player servers reduced to 6.5gb from 12.5gb

7 Likes

Thank you, this may be an interesting resource to look into! Sorry if this is the wrong place to suggest it, I figured it would be relevant for testing RAM use. :slight_smile:

2 Likes

[Update] - We were made aware of a memory limit regression to servers with >200 max players. To prevent this, we have pushed a fix to respect the old limits.

Thank you and please keep the feedback and comments coming!

8 Likes

Very much appreciate your giving feedback; posting feedback/bugs in the proper forums trigger internal processes to make sure we address it correctly. I try to flag things people call out here to the right folks, but I want you to have a safety net in case I miss something so that we capture your feedback! :slight_smile:

5 Likes

Testing it on my game and it crashes at 6880MB. Definitely up but not enough for my game! :sweat_smile:

2 Likes

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