Mojira Archive
BDS-162

/spreadplayers command causes server lag

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.

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

 

Linked Issues

Comments4

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

this occur on a self-hosted world as well

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

Ok, now how many players are you dealing with?

History14

lightpeak

Removed Security Level: Minecraft - Private

lightpeak

Changed summary:
spreadplayers command causes server stuck

[Mod] bemoty

Changed description:

When I use command spreadplayers like

0

/spreadplayers ~ ~ 50 100000 @a

0

(Max range : 100000 , Very large)

0

for spreading players far away 

0

(both, server command, command block)

0

Server stucks, and uses all of system memory
0the memory usage indicates 100% usage

0

I think it is related chunk loading problem.

When I use a spreadplayers command like

0
0
/spreadplayers ~ ~ 50 100000 @a0
0
00000

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

0

I think it is related chunk loading problem.

Changed environment:

BDS : 1.7.0.13

0

windows server 2019, Lubuntu 18, windows server 2016

0

CPU : i5 8500

0

RAM : DDR4 16GB memory

0

Storage : WD BLACK NVME 1TB

0

 

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

0

 

Changed summary:

spreadplayers command causes server stuck /spreadplayers command causes server lag

[Mod] tryashtar
[Mod] bemoty
[Mod] bemoty
IonicEcko

Added affects versions: 1.14.30

IonicEcko

Added labels: confirmed

Removed labels:

IonicEcko

Added Confirmation Status: Confirmed

IonicEcko

Added is duplicated by link:
BDS-9607/spreadplayersDuplicate

[Bot] Arisa

Added affects versions: 1.16.40

[Mod] Greymagic27

Resolution: UnresolvedWon't Fix

Won't Fix
lightpeak
4
2
Confirmed
338994
confirmed
1.6.1.0 1.14.30 1.16.40