mojira.dev
MC-100692

Collisions cause extreme lag

Since 1.9, massive entities in one spot (+400 for me, depends on your computer/server) cause extreme lag. To fix this, just make a 3x3 spot (or more) where will be your entities instead of a 1x1. Or kill them.

How to reproduce:
https://www.youtube.com/watch?v=Vty2f53Ocfc&feature=youtu.be

Related issues

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media][media]
migrated

then don't do that, the server tries to calculate pathfinding for every single one of those mobs, basically you're just asking for the server to overload

migrated

Do the server has to calculate Boats and Item Frames pathfinding?

migrated

Then tell us why it worked perfectly with no lags at all in 1.8, and it's awful in 1.9.

migrated

because 1.9 has other memory issues already reported, like MC-94438
as for boats and item frames it's the rendering of them, I will reopen it, but with so many entities as one spot, you are still kinda asking for it

migrated

Collision is the real cause. I tried to place 400 chickens in a 1x1 spot, and in a 7x7 spot and the difference is clearly here.

migrated

migrated

Unconfirmed

Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w14a

Minecraft 16w15b

Retrieved