delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/30/09:52:44

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
Date: Wed, 30 Jun 2004 14:54:47 +0100
From: Dan Hatton <dan DOT hatton AT btinternet DOT com>
X-X-Sender: ucfbdch AT ws3-mirp DOT geol DOT ucl DOT ac DOT uk
To: cygwin AT cygwin DOT com
Subject: Cygwin Memory Allocation and heap_chunk_in_mb
Message-ID: <Pine.CYG.4.58.0406301444280.2112@ws3-mirp.geol.ucl.ac.uk>
MIME-Version: 1.0
X-UCL-MailScanner-Information: Please contact the UCL Helpdesk, helpdesk AT ucl DOT ac DOT uk for more information
X-UCL-MailScanner: Found to be clean

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?

-- 

Thanks

Dan Hatton

		Daniel C. Hatton BA, MSci, MA, AMInstP, AILTHE
		Research Fellow

E-Mail:		<dan DOT hatton AT btinternet DOT com>

World-Wide Web:	<http://www.bib.hatton.btinternet.co.uk/dan/>

Telephone:	+44 (0)20 7679 7913

Fax:		+44 (0)20 7679 7883

Surface Mail:	Mineral, Ice and Rock Physics Laboratory,
		Department of Earth Sciences,
		University College London,
		Gower Street,
		London,
		UK.
		WC1E 6BT


--
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/

- Raw text -


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