This was with a slot limit of 700000. 5.7GB ram usage. Crashes are rather random at these high numbers, and I managed to get it to crash at even only 600000 too, so yea. It should definitely be fixed and made so slot amount really is just a number and not a performance indicator.
Linked issues
is duplicated by 2
Attachments
Comments 7

Can you please elaborate on the problem and include steps to reproduce.
Are you saying that merely adding high slots and starting the server will immediately result in high RAM utilisation?
Please use the template below which helps include the information volunteers need to reproduce your issue:
Summary
This is a brief summary of what happens
Steps to reproduce...
Set X in server.properties
Run server
Connect to server and chop tree
GUI goes rainbow
What I expected to happen...
What did you expect to happen when performing said steps (sometimes this is obvious as it may be in this case)
What actually happened...
What did you see/experience
Can you please elaborate on the problem and include steps to reproduce.
Are you saying that merely adding high slots and starting the server will immediately result in high RAM utilisation?
Please use the template below which helps include the information volunteers need to reproduce your issue:
Summary
This is a brief summary of what happens
Steps to reproduce...
Set X in server.properties
Run server
Connect to server and chop tree
GUI goes rainbow
What I expected to happen...
What did you expect to happen when performing said steps (sometimes this is obvious as it may be in this case)
What actually happened...
What did you see/experience
Summary
The server uses tons of RAM when using high slots
Steps to reproduce...
Set slots to 600000 (or any other high value, maybe lower / higher) in server.properties
Run server
Check RAM usage
What I expected to happen...
Server uses same RAM amount independent on slot amount (like in java)
What actually happened...
Server RAM either depends on slot amount, or it simply can't handle the slots and freaks out, using way too much RAM compared to normal slot amounts like 50
Summary
The server uses tons of RAM when using high slots
Steps to reproduce...
Set slots to 600000 (or any other high value, maybe lower / higher) in server.properties
Run server
Check RAM usage
What I expected to happen...
Server uses same RAM amount independent on slot amount (like in java)
What actually happened...
Server RAM either depends on slot amount, or it simply can't handle the slots and freaks out, using way too much RAM compared to normal slot amounts like 50
Hi Jorge,
Based on the how-to document this would appear to be expected behavior, excerpt below.
max-players Any integer 10 Always The maximum numbers of players that should be able to play on the server. Higher values have performance impact.