Mojira Archive
MC-55398

100% memory usage when increasing iron golem's follow range

Summoning iron golems in command blocks with:

/summon VillagerGolem ~ ~1 ~ {Equipment:[{Count:1,id:276,tag:{ench:[{id:16,lvl:5}]}},{Count:1,id:313,tag:{ench:[{id:2,lvl:4}]}},{Count:1,id:312,tag:{ench:[{id:0,lvl:1}]}},{Count:1,id:311,tag:{ench:[{id:0,lvl:1}]}},{Count:1,id:310,tag:{ench:[{id:0,lvl:4}]}}],CustomName:Magic Golem,CustomNameVisible:1,Attributes:[{Name:generic.maxHealth,Base:999},{Name:generic.movementSpeed,Base:1.0},{Name:generic.attackDamage,Base:999},{Name:generic.followRange,Base:999}],DropChances:[1.0F,1.0F,1.0F,1.0F,1.0F]}

I haven't done much testing, but the game seems to run fine until the golem has a mob to target. once it does, mobEntitys stop moving, and spawn eggs can't be used. (I'm assuming that at this point the server has frozen) then, when you try to relog the game crashes. (crash report attached)

edit: I did more tests. See the comments.

Duplicate

The Einhaender

2014-05-18, 01:11 AM

2015-09-18, 08:43 AM

2015-09-18, 08:39 AM

1

2

Confirmed

Minecraft 1.7.9, Minecraft 14w20b

-