Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-179293

Game slows down to 3-4 frames per second for about a minute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.15.2
    • None
    • Linux – Fedora 30
      java-1.8.0-openjdk.x86_64 or jre1.8.0_251-amd64
    • Unconfirmed
    • (Unassigned)

      As I play on Hypixel, the game suddenly slows to a 3-4 fps crawl for at least 30 seconds. The CPU usage is not particularly high, and the memory usage is also normal, but the game becomes I/O-bound. Then it resumes at the regular frame rate. It works for a while (5-6 minutes, maybe) and then it slows down again. The cycle repeats.

       

      I have seen this with 1.12.2 and 1.15.2. I have tried it with OpenJDK 1.8 and with Oracle JRE 1.8. It happens with both.

      I tried adding more memory by modifying the default java parameters:

      -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=128M -Xmx8G -Xms4G

      I tried logging out and logging into a bare minimum session (one terminal and the window manager) to conserve even more memory. The sudden slowdowns still happen.

            Unassigned Unassigned
            gabrielschulhof Gabriel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: