Non-working patch for 3GB of memory allocation

Alexandre Julliard julliard at winehq.org
Mon Jul 26 11:00:11 CDT 2004


Shachar Shemesh <wine-devel at shemesh.biz> writes:

> When actually run (through strace), one can see the mmaps being
> carried out and successful, and then the mmap that fails (no
> memory). Then malloc is attempted, which tries mmap, then brk, and
> then mmap again. All fail. This is the point where I stop
> understanding.
>
> Does anyone have any explanation as to why malloc fails? Does wine
> prevent large scale use of the lower area due to some reason?

Yes, the malloc area is located above the preloader at 78000000,
because we need the lower area to map the PE binary; so malloc is not
going to get you any additional space.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list