[Bug 48172] 32-bit wine is unable to allocate a continuous 1.5GB block of memory under 64-bit Linux with a lot of RAM

WineHQ Bugzilla wine-bugs at winehq.org
Mon Mar 2 00:58:34 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=48172

--- Comment #6 from Stefan Dösinger <stefan at codeweavers.com> ---
What this depends on is the bitness of the process (in your case the .exe
file). In a 32 bit process a void * has a size of 32 bits, so the highest
address it can address is 2^32 == 0xffffffff == 4294967295 == 4 GB. In those 4
GB address space executable code, data, memory mappings for I/O (e.g. OpenGL
resources) have to fit.

The correct answer for your issue is to use a 64 bit program. Do you have an
actual use case where you depend on decompressing such a huge archive with a 32
bit .exe that can't be replaced by a 64 bit one? E.g. is this a 32 bit
installer of a third party app that expects to do this?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list