https://bugs.winehq.org/show_bug.cgi?id=51416
Bug ID: 51416 Summary: deferred context memory leak Product: Wine Version: 6.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: janbraun@gmx.net CC: z.figura12@gmail.com Distribution: ---
This is a followup to bug#51238. While WoWs now starts and is playable with deferred contexts, it leaks LOTS of memory.
For comparison, without deferred contexts [either wine < 6.10, or by adding "return E_OUTOFMEMORY;" at the beginning of *_deferred_context_create() in current wine], WoWs sits at a fairly constant 8G virt, 2.5G res memory usage here.
With unmodified wine 6.12, WoWs arrives at these values when it finishes loading, but then continues to gobble up an additional approx. 1G virt=res per minute, just for sitting idly in the port UI, backgrounded. Memory usage keeps rising similarly during actual gameplay, though I haven't measured that in detail.
Obviously, swapping and general mayhem eventually ensues.