X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0	tests=AWL,BAYES_50,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Thu, 27 Jan 2011 12:53:17 -0600
From: Brian Ford <Brian.Ford@FlightSafety.com>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: max memory
In-Reply-To: <20110124151917.GB12471@ednor.casa.cgf.cx>
Message-ID: <Pine.CYG.4.58.1101271250460.4004@PC1163-8460-XP.flightsafety.com>
References: <000a01cbb58a$2ce4fd70$86aef850$@leinonen@wipsl.com> <20110117061117.GA3699@ednor.casa.cgf.cx> <4D3CFC08.3010704@tlinx.org> <20110124151917.GB12471@ednor.casa.cgf.cx>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Mon, 24 Jan 2011, Christopher Faylor wrote:

> On Sun, Jan 23, 2011 at 08:11:52PM -0800, Linda Walsh wrote:
> >Christopher Faylor wrote:
> >> Cygwin only uses as much memory as the OS gives it.  It can't
> >> use a full 2048MB for the heap.
> >----
> >
> >Using the /LARGEADDRESSAWARE flag would allow cygwin to access
> >up to a full 4GB of memory under Win7-64.
> >
> >Wouldn't that give enough to Cygwin to allow it to give more to the
> >heap?
>
> No.

It does give Cygwin more to work with, and it is Cygwin compatible.  But
obviously the heap is still limited by many other address space mappings
(especially DLLs), so getting a full 2 or 4 Gb is not usually possible.

-- 
Brian Ford
Staff Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained crew...

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

