Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Message-Id: <6.0.1.1.0.20040630070530.01f29c70@imap.myrealbox.com>
X-Sender: tprince@imap.myrealbox.com
Date: Wed, 30 Jun 2004 07:08:23 -0700
To: Dan Hatton <dan.hatton@btinternet.com>, cygwin@cygwin.com
From: Tim Prince <tprince@computer.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.CYG.4.58.0406301444280.2112@ws3-mirp.geol.ucl.ac.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/

