http://bugs.winehq.org/show_bug.cgi?id=2609
------- Additional Comments From nobrob@gmail.com 2006-18-05 17:32 ------- Wine would only return an error each time I ran it with a user that wasn't root. This is on Fedora Core 4 having installed cPanel-10.8.1-S114 + WHM-10.8.0 using wine-0.9.13.
---------------------------- $ wine wine: failed to initialize: /usr/local/lib/wine/ntdll.dll.so: failed to map segment from shared object: Cannot allocate memory ---------------------------- $ uname -a Linux localhost.localdomain 2.6.16-1.2108_FC4 #1 Thu May 4 23:52:01 EDT 2006 i686 i686 i386 GNU/Linux ----------------------------
I fixed it by going into web host manager (WHM), then disabling "Shell Fork Bomb Protection". This appears to limit the memory available to wine under a regular user.
ulimit showed no signs of limiting the memory as far as I could see.