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

Java memory garbage collection bug

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • 1.16.1
    • None
    • None
    • java 8_251, windows home 64x, ryzen 7 2700x, x470 motherboard, 16gb corsair vengence rgb pro ram, 1660ti
    • Unconfirmed
    • (Unassigned)

    Description

      when regularly playing I get about 300-400 fps, but for a very very quick second it drops to 4, then back up, then maybe 10-15 seconds later drops again. I've diagnosed that the problem has something to do with memory garbage recycling due to optifines lagometer thing and that my memory utilization (5gb/16gb allocated) rises to about 40% then dumps back to around 15%. The problem occurs on 1.15.2 and 1.16.1, have not tested other versions. I have changed jvm arguments adding -Xmn128M, but that just causes more drops, but that just causes it to drop more frequently still bringing me down to 4fps. I want to ask if anyone else has this problem or know a solution? 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Z_dog_ Zhi-yin Cheng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: