delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/03/13:20:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3AC9EC73.A6FD68D2@itb.biologie.hu-berlin.de>
Date: Tue, 03 Apr 2001 17:29:55 +0200
From: Axel Kowald <axel AT itb DOT biologie DOT hu-berlin DOT de>
Organization: HU-Berlin
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: heap_chunk_in_mb reg entry !?
References: <3AC99434 DOT 1239486E AT itb DOT biologie DOT hu-berlin DOT de> <018301c0bc35$8b246280$4d319b80 AT larc DOT nasa DOT gov>

Hi,


> HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\
> 
> Create a new DWORD value there called "heap_chunk_in_mb" that contains the
> maximum amount of memory (in Mb) your application needs (watch the
> hex/decimal toggle). Exit and restart all cygwin applications. 
> The default is 128 (i.e. 128Mb) if no registry key is set.

Hm, I created HKEY_CURRENT_USER\Software\Cygnus
Solutions\Cygwin\heap_chunk_in_mb
and set it to 640 decimal (I have 640MB RAM). I restarted all cygwin
programs (I even rebooted) but it didn't help. Whenever the program
tries to allocate more than 240MB I get an out of memory error. 

So the program can allocate more than the default 128, but can't get
500MB as it wants. Any idea what's going on ????


	Axel Kowald


P.S. From the windows side the 640MB are recognized without problems.
That means the TaskManager reports that 640MB are available.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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