https://bugs.winehq.org/show_bug.cgi?id=54079
Bug ID: 54079 Summary: Honkai Impact 3rd; game client rapidly eats all memory (16Gb) + swap(16Gb) while starting until the system kills it. Product: Wine Version: 7.19 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: o.dierick@piezo-forte.be Distribution: ---
Created attachment 73624 --> https://bugs.winehq.org/attachment.cgi?id=73624 Honkai Impact 3rd; wine 7.19 default output
Hello,
I installed the game "Honkai Impact 3rd" from Epic Games Store in a fresh prefix.
Installing EGS had no issue. Installing the game had no issue, except that it complained about a failure to install a required add-on. When the message was closed, it proceeded to download and install the game anyway. The add-on it tries to install are KB2921916 and KB3033929, which adds SHA256 support to Windows 7 (https://social.technet.microsoft.com/Forums/en-US/f4a4e72c-85c7-4683-8f4d-42...). I think it's unrelated to this bug.
Clicking on the game in the EGS library opens the game launcher. Clicking 'play' in the game launcher closes the open window(s) and launches the game client. There is nothing on screen, but there's a BH3.exe process that rapidly (under 30sec) eats all RAM memory. Then the computer starts crawling while it eats all swap memory (5~10 mins). After it reaches 100% of all memory used, the system kills the game client process and all memory is freed. The EGS launcher comes back on screen (if the CEF webhelper didn't crash in the meantime).
My system has 16GB of RAM and 16GB of swap. The game requirements are 4GB minimum - 8GB recommended.
I've had a few game consumes all RAM and some swap lately, but they were games with requirement of 16Gb minimum and I thought that Wine dependencies and linux libraries consumption explained that it needed a couple of Gb more. It doesn't explain the current issue, however.
It may also be the application that behaves badly, but I've not seen reports of such memory problems on Windows when searching for it.
It may be a wine bug.
Debian GNU/Linux 8 (jessie) 64 bits NVIDIA GeForce RTX 2070/PCIe/SSE2 (nv driver 515.86.01; 8GB) Intel® Core™ i7-4930K CPU @ 3.40GHz × 12 Wine 7.19 64-bit WoW
Regards.