[Wine] Memory problems/questions

Kairhos wineforum-user at winehq.org
Sat Jul 30 07:50:20 CDT 2011


I have noticed that many games (Farcry 2, Fallout 3, Fallout: New Vegas, Drakensang) crash with some form of out of memory messages. So obviously something is leaking memory (whether it is wine or the game or drivers, I cannot say). But it always happens as soon as wine uses ~1.5 GB of RAM. Also I wonder if it has something to do with this bug: http://bugs.winehq.org/show_bug.cgi?id=25428
I ran the Memory allocation test program attached to that bug and it only gets up to 1476 MB with wine, whereas it can allocate the full 2GB when compiled with gcc and run natively. I also linked it with -Wl,--section-start,.interp=0x7bf00400 as suggested by Alexandre, but that didn't make a difference. So my questions are as follows:

- Can anyone (with a PAE kernel) confirm the bug report
- Does anyone have a patch for current wine that implements the option of setting user space and kernel space memory limits. Or can anyone tell me where to find these limits in the source code. I'd like to play around a bit with these limits to force other distributions (eg. 3/1 GB split without LARGEADDRESSAWARE) to see whether this has an influence on this memory problem. 

My specs are:	wine-1.3.25, AMD X2 2x3.0GHz, 4GB RAM (DDR2-800), GeForce GTX 285 (with NV proprietary driver 280.11), Creative SB X-FI.







More information about the wine-users mailing list