How to give more RAM to wine Applications
Hi I think my system is not allocating enough RAM to WINE applications . I am using WINE to play games but they are loading slowly and RAM usage is normal. So how can I improve reserve memory of WINE?
RAM:
I don't think there is much you can do as wine takes what it needs. As it is 32bit the upper limit is 4Gb. Then there is a 2Gb (sometimes 3Gb) limit for RAM per application.
Video RAM (VRAM):
You can allow more VRAM by editing the wine registy:
wine regedit
- go to:
HKEY_CURRENT_USER → Software → Wine → Direct3D → VideoMemorySize
and set the value to a higher one. The default seems to be 64Mb.
If you see no such key, create it (right-click on Direct3D, select New then String Value and name it VideoMemorySize).
More registry information: useful registry keys from wiki.winehq.org.
This detailed memory management page from the wine developer notes might give more clues but it is quite technical.