https://bugs.winehq.org/show_bug.cgi?id=56530
--- Comment #2 from Chiitoo chiitoo@gentoo.org --- 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.
1. https://bugs.winehq.org/show_bug.cgi?id=55007