Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-Id: <6.0.1.1.0.20040630070530.01f29c70@imap.myrealbox.com> X-Sender: tprince AT imap DOT myrealbox DOT com Date: Wed, 30 Jun 2004 07:08:23 -0700 To: Dan Hatton <dan DOT hatton AT btinternet DOT com>, cygwin AT cygwin DOT com From: Tim Prince <tprince AT computer DOT org> Subject: Re: Cygwin Memory Allocation and heap_chunk_in_mb In-Reply-To: <Pine.CYG.4.58.0406301444280.2112@ws3-mirp.geol.ucl.ac.uk> References: <Pine DOT CYG DOT 4 DOT 58 DOT 0406301444280 DOT 2112 AT ws3-mirp DOT geol DOT ucl DOT ac DOT uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-IsSubscribed: yes At 06:54 AM 6/30/2004, Dan Hatton wrote: >I'm using CYGWIN_NT-5.1, under XP Pro. > >I've set my heap_chunk_in_mb registry key to a very large value (10240 >decimal,) because I'm doing some RAM-hungry numerical calculations. > >I have enough space to do this (Control Panel->System reports 12 GB of >virtual memory allocated.) > >However, the max_memory program at ><http://www.cygwin.com/ml/cygwin/2003-02/msg00234.html> still reports >only 1.5 GB available. Sure enough, my program dies with an "out of >memory" error at 1.25 GB (the 0.25 GB discrepancy is about right for >the amount of RAM other processes are using.) > >Anyone got any ideas what's happening, please? cygwin doesn't emulate a 64-bit OS. Did you try setting up XP with /3GB to see whether that would give another 1 GB, or check the archives for any reports on such an attempt? Tim Prince -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/