delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/11/00:46:50

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sat, 11 Oct 2008 00:45:47 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem to open big selfextracting Zip files from bash - starting from scratch :-)
Message-ID: <20081011044547.GA15280@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5E25AF06EFB9EA4A87C19BC98F5C875301A4DAB3 AT core-email DOT int DOT ascribe DOT com> <48EE2793 DOT 8000901 AT oracle DOT com> <31DDB7BE4BF41D4888D41709C476B6570929B539 AT NIHCESMLBX5 DOT nih DOT gov> <48EF221A DOT 7010505 AT oracle DOT com> <31DDB7BE4BF41D4888D41709C476B6570929B54F AT NIHCESMLBX5 DOT nih DOT gov>
MIME-Version: 1.0
In-Reply-To: <31DDB7BE4BF41D4888D41709C476B6570929B54F@NIHCESMLBX5.nih.gov>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Fri, Oct 10, 2008 at 07:03:26PM -0400, Buchbinder, Barry (NIH/NIAID) [E] wrote:
>Speaking of "Changing Cygwin's Maximum Memory"
><http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html> ...
>
>Curiously (since I've never played with heap_chunk_in_mb), when I tried
>max_memory.exe I got the exact same result as you did.
>	5fffe000 bytes (1536.0Mb)
>So I recompiled it with the much-reviled-and-soon-to-be-eliminated
>-mno-cygwin flag.  Interestingly, the result was different.
>	77ffe000 bytes (1920.0Mb)

Cygwin uses Doug Lea's malloc implementation which can allocate
discontiguously so the example in the abovementioned URL is wrong.  It
does not reflect the largest chunk of memory that could be allocated,
which is what heap_chunk_in_mb controls.

cgf

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