-
Bug
-
Resolution: Awaiting Response
-
None
-
Minecraft 1.8.5
-
Unconfirmed
When you encounter a java.lang.OutOfMemoryError which closes the open world but doesn't crash Minecraft completely, Minecraft's performance is really bad.
Example command
/summon MinecartCommandBlock ~ ~1 ~ {Command:/setblock ~ ~-4 ~ redstone_block,Riding:{id:MinecartCommandBlock,Command:"/scoreboard objectives add sleepingValue dummy",Riding:{id:MinecartCommandBlock,Command:/fill ~ ~2 ~ ~ ~2 ~ redstone_block,Riding:{id:MinecartCommandBlock,Command:/setblock ~ ~1 ~ command_block 0 replace {Command:/fill ~ ~1 ~ ~ ~1 ~ stone 0 replace redstone_block},Riding:{id:MinecartCommandBlock,Command:/setblock ~ ~3 ~ command_block 0 replace {Command:/fill ~ ~-1 ~ ~ ~-1 ~ redstone_block 0 replace stone},Riding:{id:MinecartCommandBlock,Command:/setblock ~-1 ~2 ~ command_block 0 replace {Command:"/scoreboard players set @a sleepingValue 0"},Riding:{id:MinecartCommandBlock,Command:/setblock ~1 ~2 ~ command_block 0 replace {Command:"/scoreboard players set @a sleepingValue 1 {Sleeping:1b}"},Riding:{id:MinecartCommandBlock,Command:/setblock ~ ~2 ~-1 command_block 0 replace {Command:"/tp @a[score_sleepingValue_min=1] ~1000 ~ ~"},Riding:{id:MinecartCommandBlock,Riding:{id:FallingSand,Time:1,Block:activator_rail,Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:stone,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:/fill ~ ~-2 ~ ~ ~3 ~ air},Riding:{id:FallingSand,Time:1,Block:stone,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:/kill @e[type=MinecartCommandBlock,dy=6]}}}}}}}}}}}}}}}}
And just sleep in a bed.
This relates strongly to MC-79868
The problem is that the maximum memory cap is reached, which causes an error but Minecraft continues to run without clearing the RAM. This means you will constantly have a memory usage over 90% and FPS under 20.