Why Steam fails [VirtualAlloc]

Ivan Gyurdiev ivg2 at cornell.edu
Mon Dec 5 02:04:06 CST 2005


Mike Hearn wrote:
> On Sat, 03 Dec 2005 15:38:10 -0500, Ivan Gyurdiev wrote:
>   
>> Running the same call from a test program suceeds - I can mmap() things 
>> that are an order of magnitude larger without problems (as a regular user).
>>     
>
> How big is your swapfile? It should probably have a MAP_NORESERVE flag.
>   
Which swapfile.. I'm not very familiar with how memory management works...
I have a swap partition of size 512 MB (or so), and 1GB of actual memory.
The NORESERVE flag was not set in the mmap call that's breaking Steam... 
and it wasn't set in my test program either.

Here's output from free command right now...  it looks about the same 
that it did when Steam wouldn't run...

             total       used       free     shared    buffers     cached
Mem:       1035604     947792      87812          0      84480     498200
-/+ buffers/cache:     365112     670492
Swap:       524152        188     523964





More information about the wine-devel mailing list