http://bugs.winehq.org/show_bug.cgi?id=6815
Summary: Wine wants to allocate all the memory Product: Wine Version: 0.9.22. Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-kernel AssignedTo: wine-bugs@winehq.org ReportedBy: lukas@ksp.sk
I have this line in /etc/security/limits.conf: "@users hard as 600000"
Every user can allocate only 600MB of memory (of about 1GB). With this option set, wine exits with: "wine: failed to initialize: /usr/lib/wine/ntdll.dll.so: failed to map segment from shared object: Cannot allocate memory"
When I delete the line from /etc/security/limits.conf or set the limit to higher value, everything works fine.