https://bugs.winehq.org/show_bug.cgi?id=39477
--- Comment #15 from Rob Sanders rob@sandersmail.eu --- (In reply to Andrew Eikum from comment #14)
Yeah. 32-bit processes like STO are limited to about 4 GB of address space. Wine takes a lot, the game takes a lot, and then pulseaudio wants to allocate a contiguous 64 MB chunk. It's not too surprising that that fails in some modern video games.
If the game has a 64-bit version, you could try that in a 64-bit build of Wine, which would let you use all 32 GB of RAM. But probably just changing the PA settings will fix it.
I've been testing it for the last few days and wine stopped crashing. The game still occasionally crash without a backtrace - probably because the game is running out of memory rather than pulseaudio.
Thank you very much for your help!