Detecting ulimit problem

Alexandre Julliard julliard at
Sat May 21 06:17:30 CDT 2005

Robert Lunnon <bobl at> writes:

> Really we need a better way. Under Solaris I have run into these problems for 
> well over 2 years and I have a patch in my kit that pre-allocates 64MB for 
> the heap then lets mmap allocate over the 2 GB limit for everything else, eg 
> DLLs and so on. This seems to work pretty well,  but it's been rejected as a 
> fix to wine.

It doesn't solve the issue anyway, the problem is not so much heap
addresses (which is trivial to fix), it's the dll addresses, they have
to all be under the 2Gb mark, including builtins.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list