Non-working patch for 3GB of memory allocation

Alexandre Julliard julliard at winehq.org
Wed Jul 28 11:14:45 CDT 2004


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

> Alexandre Julliard wrote:
>
>>That's why we don't use malloc in Wine...
>>
> http://source.winehq.org/source/dlls/ntdll/virtual.c#L373 says otherwise.

Yes there are a few exceptions, because we obviously can't allocate
from the process heap in the code that creates it. Also Unix libraries
will sometimes call malloc.

>>1Gb we need to manage this ourselves, or fix the kernel memory
>>allocation algorithm. Fixing the kernel is a lot easier.
>>
> Surely you mean "technologically easier", right?

Well, yes, but it's also the right place to do it.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list