Aloha!
After running my game with leak detection on, I get errors about memory leaks. These stem from persistent allocations. I can find the origins of these leaks via the full stack traces and fix them.
However, I am wondering how much of an issue these leaks are. They are not growing during the game’s lifetime (and thus not increasingly consuming memory from my PC). They are simply persistent allocations made once and then never disposed. I understand that these should be fixed, but in terms of severity, do such allocations realistically cause any problem?
Hypothetically, when the game is shipped with these allocations unresolved and the user closes the game, aren’t all these allocations thrown away when the process closes anyways?
To reiterate, this is mostly a priority thing: I want to know whether I should spend immediate attention on these allocations/leaks.
Cheers ![]()