Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Hard to play on PS5, btw, if anyone is wondering.
If GC is done poorly, its slow -- same as if you did your home rolled memory manager wrong in a non-gc language like C++.
Doing memory correctly is one of the hardest challenges in performance code.
Of course it is. I have implemented garbage collection myself as part of one of my compiler projects as well.
Problem is: many garbage collectors are implemented in such a way that when memory pressures rises it becomes blocking for every other thread - and in a non-recovering way, the .NET-garbage collector shows this behaviour, for example.
And from the behaviour of the game here I can clearly tell that there are memory leaks involved, because over time the blocking GCs are becoming more and more.
Play for 4-5 hours (at most), act 4. You will see that the graphics stutters like crazy when an enemy dies.
I get this on both PC (both my PCs) and the PS5.
This is a clear sign of a memory leak which leads to the GC kicking in and performing a blocking garbage collection, a usual thing you get a lot when you are not careful in .NET applications, for example (event handlers, as I said before, are the worst culprit here).
Could also be LOH.
But alright, I guess memory profiling is the way to go. You're right there.
Ive seen the game get weird after very long sessions as well. I am rocking 64gb, so I have yet to hit a stutter problem, but I have had it drop the escape->menu (still accessible via mouse, save and exit / restart works) and after a while some mouse actions (select a player, or select an attack to do only to have it not register the selected attack or player clicked on) stop working 100%.
I blame myself on that one, though. Games were not meant to run 12 hours straight, and my walk away and come back computer activities lately, where I just leave it running, are surely outside of 'normal' operating intentions of this software. When it bugs out, I restart it, takes only a few seconds. Its not the only game I have that can't tolerate long sessions... quite a few out there hate it when you do that. I am not sure its a crisis in need of urgent fixing :) but it would be nice if they did.