https://bugs.winehq.org/show_bug.cgi?id=58000
Bug ID: 58000 Summary: New thread stack uses too much memory Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: piotr.caban@gmail.com Distribution: ---
Created attachment 78261 --> https://bugs.winehq.org/attachment.cgi?id=78261 simple app that can be used to reproduce the problem
It's a regression caused by 3863b243fe5ef4e223a809e93a85e858952dd754 commit. Affected application (32-bit) runs on low end machine and creates 128 cores. Prior to this change it was using ~34MB of memory, in wine 10.0 it uses ~152MB (every thread uses ~1MB for stack). I've also confirmed that application memory usage is small on Windows 10.
According to MSDN stack should not use physical memory until it's referenced.