https://bugs.winehq.org/show_bug.cgi?id=56530
--- Comment #3 from Zeb Figura z.figura12@gmail.com --- (In reply to Chiitoo from comment #2)
So far I have still not seen it happen without the '-g' flag even after hours/days of the game running (and need to use '-mno-avx' due to the GCC bug [1] but no idea if it has anything to do with it).
Memory seems to get released properly without '-g' (just eye-balling it though; could probably test that better), but enabling it leads to out-of-memory in just a few minutes depending on the in-game area.
Ah interesting, -g makes the difference. I wonder if there's a leak in dbghelp then.