Re: PATCH: Re: Problem with virtual memory rlimits

2006-03-17 Thread Marcus Meissner
On Fri, Mar 17, 2006 at 06:10:40PM +0100, Alexandre Julliard wrote: > Marcus Meissner <[EMAIL PROTECTED]> writes: > > > Got an idea... > > > > It helps if the process is started with the ADDR_COMPAT_LAYOUT personality > > flag set. > > We should still be reserving the high memory area, so it shou

Re: PATCH: Re: Problem with virtual memory rlimits

2006-03-17 Thread Alexandre Julliard
Marcus Meissner <[EMAIL PROTECTED]> writes: > Got an idea... > > It helps if the process is started with the ADDR_COMPAT_LAYOUT personality > flag set. We should still be reserving the high memory area, so it shouldn't make any difference WRT ulimits. Something else must be going on here. -- Al

PATCH: Re: Problem with virtual memory rlimits

2006-03-17 Thread Marcus Meissner
On Fri, Feb 24, 2006 at 02:12:46PM +0100, Marcus Meissner wrote: > Hi, > > I am having a problem with virtual ulimits/rlimits. > > If you limit the virtual memory size using "ulimit -v 140" for > instance, wine will only crash. > > The problem is, that VIRTUAL_alloc_teb() tries to allocate a

Re: Problem with virtual memory rlimits

2006-02-24 Thread Alexandre Julliard
Marcus Meissner <[EMAIL PROTECTED]> writes: > If you limit the virtual memory size using "ulimit -v 140" 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 i

Problem with virtual memory rlimits

2006-02-24 Thread Marcus Meissner
Hi, I am having a problem with virtual ulimits/rlimits. If you limit the virtual memory size using "ulimit -v 140" 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