delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/01/27/13:54:46

X-Recipient: archive-cygwin AT delorie DOT 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 DOT Ford AT FlightSafety DOT com>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT 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 AT wipsl DOT com> <20110117061117 DOT GA3699 AT ednor DOT casa DOT cgf DOT cx> <4D3CFC08 DOT 3010704 AT tlinx DOT org> <20110124151917 DOT GB12471 AT ednor DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


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