Affects Version/s: Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.1 Pre-Release 2, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2 Pre-Release 3, Minecraft 1.14.2, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 6
Fix Version/s: Minecraft 1.14.4 Pre-Release 6
Tested on Linux Ubuntu 16.04 and Windows Server 2012 both on Intel x5690 - 3.47Ghz , 64GB RAM, 440GB Intel SSD
Miencraft 1.14 Release
Used CPU Monitor and Java VisualVM
It seems when Minecraft 1.14 is idle, it still continues to consume CPU at a significantly higher rate than its predecessors like Minecraft 1.13.2
I've compared the 2 side by side from VisualVM on both Linux and Windows, but I cannot find the cause when I run a snapshot from CPU Sampler. Both results are same, but the CPU consumption is too high on 1.14.
I have included screenshots from VisualVM running both Minecraft 1.13.2 and Minecraft 1.14
1.13.2 - Fresh start, No players, Monsters on, Animals on. 1GB RAM Allocated
1.14: Fresh start, No players, Monsters on, Animals on. 1GB RAM Allocated
Results did not change when I turned off Animals and Monsters.
On Windows, the problem is slightly intermittent... sometimes it might run smoothly and then its almost like something triggers it to go out of idle mode and start munching CPU.
On Linux the problem occurs 100% of the time.
A second issue (which could be related) is that Minecraft is consuming up the server thread by 100% nearly all the time. Players join and stay in a single area, but seems like the Server Thread is still doing something way abnormally high. (Appears to be working with chunks, even though chunks are loaded, perhaps a bug in chunk loading / looping?) As a result, the server console repeatedly reports falling behind in ticks by 80ms to 2000ms.
NOTE: I have found that the second issue is a known duplicate: https://bugs.mojang.com/browse/MC-138550
So this bug will now only focus on the first issue, which is high IDLE cpu usage. Minecraft server instance uses a considerable amount of CPU with no players in server. It is also a significant waste of earth resources considering how many instances of Minecraft 1.14 is running around the world.