www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/09/13/00:36:37

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Subject: Re: Out of memory error compiling Mesa 6.4.2 in Windows 7 32-bit
To: djgpp AT delorie DOT com
References: <1fc76553-1d38-44a3-885a-ca0dc772f46d AT googlegroups DOT com>
From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Message-ID: <55F4FD47.4070600@iki.fi>
Date: Sun, 13 Sep 2015 07:36:23 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <1fc76553-1d38-44a3-885a-ca0dc772f46d@googlegroups.com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 09/12/2015 11:31 PM, emoaddict15 AT gmail DOT com [via djgpp AT delorie DOT com] wrote:
> Hello,
>
> I normally compile all my projects on Windows XP SP3 but opted to try it on my newer, faster computer that has Windows 7 32-bit.  When compiling a large project like Mesa 6.4.2 it gets to fxtris.c in the project then bombs out with:
>
> cc1.exe: out of memory allocating 4072 bytes after a total of 27307024 bytes.
>
> This is the same DJGPP directory copied over from Windows XP SP3, where it compiles fine there.
>
> Is this a known issue with DJGPP 2.05?  I am using GCC3.4.6 and Binutils 2.25 (reported from running ar -v).
>
>
Microsoft choice to limit non WIndows applications at some moment (beginning from Windows Vista). 
Nothing to do with DJGPP v2.05 (2.03 is affected in the same way). Fortunately M$ added workaround 
possibility after protests.

Search Google for: windows vista dpmi 32 MB limit

Or just take a look at: http://www.trnicely.net/misc/vista.html (first in results of Google search).

As far as I remember workaround worked immediately for me on Windows Vista Business SP1 32 bit 
without need to reboot as mentioned in some places. I have not tried it in Windows 7 32-bit as I 
only had 64 bit version. I do not know whether it works on Windows 8, 8.1 or 10 (32-bit versions only)

Andris

PS: This all is about 32-bit Windows only.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019