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

Chatting causes lag to occur

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 21w39a
    • 1.16.5, 21w08b, 21w11a, 21w15a, 21w16a, 21w17a, 21w18a, 1.17 Pre-release 1, 1.17, 1.17.1, 21w37a, 21w38a
    • Windows 10
      Dell Precision T3600
      Intel 8x Xeon 3.60 GHz
      Nvidia Quadro 2000
    • Confirmed
    • Performance
    • Normal

      Relates to MC-65587 and MC-225777

      Possibly related to MC-131219, however, that bug takes place when you open chat; this is once you've hit enter to put something in the chat.

      The bug

      Often, I want to make a note to myself in singleplayer of something like coordinates. But lately, when I attempt to place such information in chat, it causes the game to freeze for a second for no reason even though I am in singleplayer.

      Steps to reproduce:

      1. Log into a singleplayer world that isn't open to LAN, etc.

      2. Type something in chat and hit enter when you are done.

      -->  Notice the big lag spike.

       

      Additional Information

      Note: It doesn't always happen, and it doesn't happen twice in a row.

      Another note: Significantly less lag in 21w18a, but still there.

      It seems like the game is trying to access the log and that is why it causes so much lag. It also occurs with command feedback. and feedback from debug profiling, but only the message including where the profile saved.

        1. 2021-03-09_15.28.22.png
          2021-03-09_15.28.22.png
          415 kB
        2. image-2021-07-23-12-10-44-165.png
          image-2021-07-23-12-10-44-165.png
          32 kB
        3. image-2021-07-23-12-10-53-823.png
          image-2021-07-23-12-10-53-823.png
          29 kB
        4. MC-218167.mp4
          3.01 MB
        5. profiling_chat.zip
          46 kB
        6. profiling_prompt.zip
          38 kB
        7. VisualVMSampling.png
          VisualVMSampling.png
          96 kB

            boq [Mojang] Bartosz Bok
            Thunderstorm11 Brevort
            Votes:
            22 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: