• Zwiebel@feddit.org
    link
    fedilink
    English
    arrow-up
    105
    arrow-down
    1
    ·
    3 months ago

    That can happen with any program, and should be a simple fix on the dev side

    • mogoh@lemmy.ml
      link
      fedilink
      arrow-up
      88
      arrow-down
      1
      ·
      3 months ago

      It is also something that can happen easily. Just program to log an error and then the error happens unexpected every frame.

      • 9point6@lemmy.world
        link
        fedilink
        arrow-up
        76
        arrow-down
        2
        ·
        edit-2
        3 months ago

        So

        300×1024×1024= 314,572,800kb

        Assuming something like 200 bytes per log line

        x5 = 1,572,864,000 logs

        Assuming this is your standard console port with a 60fps frame rate lock:

        ÷60fps ÷ 60 seconds ÷ 60 minutes ÷ 24h = 303.407… days

        You would need to play for nearly a year solid to generate that many logs at a rate of one per frame.

        Given that’s probably not what’s happened, this is a particularly impressive rate of erroring

        • mogoh@lemmy.ml
          link
          fedilink
          arrow-up
          52
          ·
          3 months ago

          Yeah, that does not add up, you are right. There must be several error or it must include the stacktrace or something.

          • rtxn@lemmy.world
            link
            fedilink
            English
            arrow-up
            31
            ·
            3 months ago

            It’s possible that the log writer wanted to fseek to the end of the file and write something, but the target pointer value was somehow corrupted. Depending on the OS, the file might end up having a fuckton of zeroes in the skipped part.

              • rtxn@lemmy.world
                link
                fedilink
                English
                arrow-up
                9
                ·
                3 months ago

                Theoretically, yes. Theoretically NTFS supports sparse files, but I don’t know if the feature is enabled by default.

      • dustyData@lemmy.world
        link
        fedilink
        arrow-up
        37
        ·
        3 months ago

        It’s a crash log, not an error log. It’s probably dumping the entire memory stack to text instead of a bin dump every time it crashed. I would also suspect the crash handler is appending to the log instead of deleting old crashes and just keeping the latest. At several dozen gigas of RAM it would just take a couple of game crashes to fill up the 300GB.

      • I Cast Fist@programming.dev
        link
        fedilink
        arrow-up
        24
        ·
        3 months ago

        To happen every frame without crashing the game, it’s more likely a warning ⚠️ “Warning, the texture is named 1.png instead of 1.PNG”

    • theangryseal@lemmy.world
      link
      fedilink
      arrow-up
      16
      ·
      3 months ago

      It happened to my cousin awhile back with Photoshop. She’s a professional photographer and it shut her down for a few days. I found it pretty quickly and an update stopped it from happening. It wasn’t removing temporary files and totally filled her drive up.

      Poor thing was ready to buy a new hard drive.

    • thawed_caveman@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      3 months ago

      I vaguely remember the Nvidia driver generating tons of log files, so many that they piled up over years and filled my drive