Re: [Mingw-w64-public] windows 32 bit memory address space

2014-12-16 Thread Yaron Keren
You are probably using gcc to link the application. If so, add -Wl,--large-address-aware to gcc flags when building it and the exe would be able to use 3GB of memory instead of 2. That option worked for my gcc-compiled app on Windows 7 64 bit. 2014-12-16 1:37 GMT+02:00 Rashad M : > Hello, >

Re: [Mingw-w64-public] windows 32 bit memory address space

2014-12-15 Thread Jim Michaels
Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http://RenewalComputerServices.com http://JesusnJim.com (computer repair info, programming) From: Rashad M To: mingw-w64-public@lists.sourceforge.net Sent: Monday, December 15, 2014 3:37 PM Subject: Re: [Mingw-w64-public] windows 32 bit

Re: [Mingw-w64-public] windows 32 bit memory address space

2014-12-15 Thread Rashad M
Hello, On Tue, Oct 28, 2014 at 3:54 AM, Rashad M wrote: > > > > On Tue, Oct 28, 2014 at 12:51 AM, Kai Tietz > wrote: > >> Hi Rashad, >> >> 2014-10-27 20:13 GMT+01:00 Pavel : >> > Hi Rashad, >> > >> > I believe this is given by the 32 bit implementation of Win32 API >> > (surprisingly, the API on

Re: [Mingw-w64-public] windows 32 bit memory address space

2014-10-27 Thread Rashad M
On Tue, Oct 28, 2014 at 12:51 AM, Kai Tietz wrote: > Hi Rashad, > > 2014-10-27 20:13 GMT+01:00 Pavel : > > Hi Rashad, > > > > I believe this is given by the 32 bit implementation of Win32 API > > (surprisingly, the API on 64bit systems is also called Win32, but is > > implemented as 64bit). The s

Re: [Mingw-w64-public] windows 32 bit memory address space

2014-10-27 Thread Kai Tietz
Hi Rashad, 2014-10-27 20:13 GMT+01:00 Pavel : > Hi Rashad, > > I believe this is given by the 32 bit implementation of Win32 API > (surprisingly, the API on 64bit systems is also called Win32, but is > implemented as 64bit). The system simply does not allow you to allocate > more memory. It even l

Re: [Mingw-w64-public] windows 32 bit memory address space

2014-10-27 Thread Pavel
Hi Rashad, I believe this is given by the 32 bit implementation of Win32 API (surprisingly, the API on 64bit systems is also called Win32, but is implemented as 64bit). The system simply does not allow you to allocate more memory. It even looks like the 3GB option (4GT) is maybe not supported on W

Re: [Mingw-w64-public] windows 32 bit memory address space

2014-10-27 Thread Rashad M
Hi Pavel, On Mon, Oct 27, 2014 at 11:35 PM, Pavel wrote: > Actually the virtual memory limit available for single application is > 2GB on 32bit Windows. It is possible to extent it to 3GB if special care > is taken: http://msdn.microsoft.com/en-us/library/bb613473(VS.85).aspx The page says tha

Re: [Mingw-w64-public] windows 32 bit memory address space

2014-10-27 Thread Pavel
Actually the virtual memory limit available for single application is 2GB on 32bit Windows. It is possible to extent it to 3GB if special care is taken: http://msdn.microsoft.com/en-us/library/bb613473(VS.85).aspx Pavel On Mon, 2014-10-27 at 18:33 +0100, Adrien Nader wrote: > No, it's impossible.

Re: [Mingw-w64-public] windows 32 bit memory address space

2014-10-27 Thread Adrien Nader
No, it's impossible. 2 ** 32 = 4GB so the whole system is limited to 4GB in total and there's 1GB (or 2GB) which is not usable by applications. The only solution is to move to 64bit applications. Actually the limitation on memory allocations is the main reason for the creation of 64bit systems.

[Mingw-w64-public] windows 32 bit memory address space

2014-10-27 Thread Rashad M
Hi all, Is there any option to overcome the 2GB memory limitation on a windows 32 bit. with mingw64. Earlier I was using mingw32 from mingw.org and there seems to problem on 32bit windows. Especially when I want to allocate a RAM of more than 3 GB. I moved to mingww64 toolchain and the problem st