Problem with virtual memory rlimits

Marcus Meissner meissner at
Fri Feb 24 07:12:46 CST 2006


I am having a problem with virtual ulimits/rlimits.

If you limit the virtual memory size using "ulimit -v 1400000" for
instance, wine will only crash.

The problem is, that VIRTUAL_alloc_teb() tries to allocate a memory
area within the acceptable userspace ... but it does so much mmap()s
that it runs out of available mmap space before.

I was only able to reproduce this on AMD64 machines up to now, 
which pass out memory starting from 0xf7fffffff somewhere.

Any clue how to solve this?

Ciao, Marcus

More information about the wine-devel mailing list