http://bugs.winehq.org/show_bug.cgi?id=25428
Summary: Memory allocation issue when working with a PAE kernel Product: Wine Version: 1.3.7 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: iliverez@gmail.com
Created an attachment (id=32366) --> (http://bugs.winehq.org/attachment.cgi?id=32366) Memory allocation test program.
It seems that when using wine with A PAE kernel on a system with enough memory to put PAE into effect (e.g. 5GB), the maximum limit of memory that an application can allocate is about 1.5GB. Using the same kernels on the same system but with 3GB, the limit is 2GB.
I have created a small test that allocates memory with a step of 64MB with a maximum total allocated space of 2GB. Then I compiled it both with winegcc and gcc.
On the 3GB RAM setup, I could reach the MAX value, both with the winegcc and the gcc compiled executable
On the 5GB RAM setup, the winegcc version stopped at ~1.5, while the gcc version reached the MAX value.
Kernels tested: 2.6.31.12-rt21-avlinux-realtime-pae-rev3 2.6.36-liquorix-avlinux-pae
Wine versions tested: 1.3.5, 1.3.7
Known applications affected by this issue: NI Kontakt 4