-
Bug
-
Resolution: Fixed
-
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
-
None
-
Community Consensus
-
Performance
-
Important
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.
Additional notes:
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: 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.
- is duplicated by
-
MC-146579 Server CPU usage at 100% for all cores
- Resolved
-
MC-150824 1.14 Server using 100% of CPU and RAM
- Resolved
-
MC-152325 Memory servers Usage
- Resolved
-
MC-154574 Minecraft 1.14.x servers is unoptimized with performance issues
- Resolved
-
MC-154629 server v1.14.2 running in kvm guest uses 100% of CPU on host
- Resolved
-
MC-155100 CPU frequency drops and Low performance
- Resolved
- relates to
-
MC-138550 High ms ticks in 1.14+, player cannot interact with world normally
- Resolved
-
MC-145380 Lag and high CPU use even with no players online, from the end, caused by 'chunkSource'
- Resolved
-
MC-183518 High CPU usage on hypervisor host possibly due to excessive syscall usage by Minecraft Server
- Resolved