[BDS-162] /spreadplayers command causes server lag Created: 17/Oct/18  Updated: 04/Jan/24  Resolved: 04/Jan/24

Status: Resolved
Project: Bedrock Dedicated Server
Affects Version/s: 1.6.1.0, 1.14.30, 1.16.40
Fix Version/s: None

Type: Bug
Reporter: lightpeak Assignee: Unassigned
Resolution: Won't Fix Votes: 4
Labels: confirmed
Environment:

BDS : 1.7.0.13
Windows Server 2019, Lubuntu 18, Windows Server 2016
CPU : i5 8500
RAM : DDR4 16GB memory
Storage : WD BLACK NVME 1TB

 


Issue Links:
Duplicate
is duplicated by BDS-9607 /spreadplayers Resolved
Relates
relates to BDS-205 Server causes high CPU usage even whe... Resolved
Confirmation Status: Confirmed
ADO: 338994

 Description   

When I use a spreadplayers command like

/spreadplayers ~ ~ 50 100000 @a

(max range : 100000, very large)
for spreading players far away, the server starts lagging and uses all of the system's memory.
The memory usage indicates 100% usage. This happens both when I try to to execute the command via console and command block.

I think it is related chunk loading problem.



 Comments   
Comment by Calvin Virgil onofrei [ 27/Oct/21 ]

Ok, now how many players are you dealing with?

Comment by Copitoch [ 14/Jul/20 ]

If you put even more value, this will lead to the crash of your server or the crash of your minecraft in a single player game))

Comment by lightpeak [ 24/Oct/18 ]

this occur on a self-hosted world as well

Comment by [Mod] tryashtar [ 20/Oct/18 ]

Does this only occur on a dedicated server, or on a self-hosted world as well?

Generated at Sat Jan 11 07:13:06 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.