[ssug-malappuram] Windows Vista restricts GNU GCC apps to 32 MB

  • From: "Santhosh Thottingal" <santhosh00@xxxxxxxxx>
  • To: "Palakkad Libre software Users Society (+PLUS)" <plus-discuss@xxxxxxxxxxxxxxxxx>, ssug-malappuram@xxxxxxxxxxxxx
  • Date: Sat, 12 May 2007 13:58:59 +0530

**
"Executable images created for the DOS/Wintel environment, using the GNU GCC
compilers and language standards (but not linking to the Win32 API), are
subject to failure (or performance degradation) when executed in Microsoft
Windows Vista, because Vista arbitrarily restricts the memory space for the
GCC executable to 32 MB (33,554,432 bytes). Attempts to allocate more memory
than this using the malloc(...) function (or related functions, such as
calloc(...)) will fail. This limitation applies whether the application is
executed with the *Run* command, within a Command Prompt box (DOS box), or
with the Start command. This limitation does not appear in Windows XP,
Windows 98SE, or standalone DOS; the exact same executable, running under
Windows XP SP2 or Win98SE, is capable of allocating several hundred
megabytes of physical memory (if present on the machine). The limitation
appears to apply to any compiler and linker not employing Microsoft's
proprietary Win32 API. "....
Read more http://www.trnicely.net/misc/vista.html

-santhosh

Other related posts: