Aug. 24, 2026
3:13 p.m.
On Mon Aug 24 14:55:17 2026 +0000, Jinoh Kang wrote:
16-bit programs are limited to 4 GiB of address space. They will run out of address space before they can use up all of the computer's memory. I meant that the DISCARDABLE mechanism (if ever implemented) is needed exactly for that: when the application runs out of (segmented) address space and no new segments can be allocated. The segment has to remain allocated to the resource even if it is discarded, so that the resource can be reloaded later and still have the same handle as before. This commit does not use up any more segments than Windows does.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11742#note_149689