From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6517 invoked by alias); 24 Jan 2011 04:12:06 -0000 Received: (qmail 6452 invoked by uid 22791); 24 Jan 2011 04:12:05 -0000 X-SWARE-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ishtar.tlinx.org (HELO Ishtar.sc.tlinx.org) (173.164.175.65) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 24 Jan 2011 04:12:00 +0000 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p0O4BqwH011618 for ; Sun, 23 Jan 2011 20:11:54 -0800 Message-ID: <4D3CFC08.3010704@tlinx.org> Date: Mon, 24 Jan 2011 17:38:00 -0000 From: Linda Walsh User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: max memory References: <000a01cbb58a$2ce4fd70$86aef850$@leinonen@wipsl.com> <20110117061117.GA3699@ednor.casa.cgf.cx> In-Reply-To: <20110117061117.GA3699@ednor.casa.cgf.cx> X-Stationery: 0.4.10 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-01/txt/msg00294.txt.bz2 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? There's several 32-bit progs that should have been able to use over 2GB, with even XP being configurable to run with 3GB of user/1GB system space, but this was not very usable due to XP being hobbled to ignore extended memory (available on XEON processors many years back that allowed up to 64G on 32-bit machines). With 64-bit OS's User programs can easily be given more than 2G of addr space, but to allow this programs have to be linked with the largeaddressaware flag. Then 32-bit cygwin could theoretically use up to 4GB of memory. If that was the case, cygwin should be able to allocate more memory for user space (search firefox's bugdb for that flag for notes on its progress toward getting that switch enabled -- apparently ready but not yet enabled in shipping versions). -- 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