• fennesz12@feddit.dk
    link
    fedilink
    English
    arrow-up
    5
    ·
    14 hours ago

    Diablo4 has memory leak issues. As a software engineer myself, I just don’t see any excuse for a game this long in production to have memory leak problems.

    There is no doubt that a lot of games are getting rushed without being properly tested.

    • SorteKanin@feddit.dk
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 hours ago

      Tbf memory leaks can be very hard to diagnose and can also be hard to avoid in any software written in a language like C++, which is probably what Diablo 4 is written in.

      • mriswith@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        7 hours ago

        In large scale online games you have issues ranging from obscure things causing memory leaks based on drivers, hardware combinations, etc. and all the way to basic things getting overlooked. One of my favorite examples being GTA5 online.

        They forgot to update a function from early testing, and it was in the game for about a decade before someone else debugged the launch process. And then realized that it was going through the entire comparison file for each item it checked on the local list. So “changing a few lines” ended up reducing initial load times by up to 70% depending on the cpu and storage media.

        EDIT: I’ve been drinking and probably misreemebred parts, so here is the post about how he found the issue