[Bug 39477] Wine crashes with alsa/pulseaudio in Star Trek Online

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 26 09:01:32 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=39477

--- Comment #12 from Andrew Eikum <aeikum at codeweavers.com> ---
Oh! I've seen this before. The problem is you're running out of memory:

mmap() failed: Cannot allocate memory

Wine reserves a bunch of memory, and then STO is likely using lots of memory.
On top of that, Pulse tries to allocate 64 MB of memory, which is a lot. In
your particular arrangement, this allocation fails and shows the above message
and then crashes. None of this is really a "bug," per se, we've just run out of
32-bit address space.

You can work around this by asking Pulse to use less memory. In
</etc/pulse/daemon.conf>, see these lines:

; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64
MiB

In the past, we've recommended setting shm-size-bytes to 1048576. You can find
(mostly useless) descriptions of these options in the pulse-daemon.conf(5)
manpage.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list