Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Mon, 3 Feb 2003 22:23:46 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: document heap_chunk_in_mb? Message-ID: <20030204032346.GA5265@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20030204030442 DOT GA2900 AT world-gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030204030442.GA2900@world-gov> User-Agent: Mutt/1.5.1i On Mon, Feb 03, 2003 at 09:04:42PM -0600, Joshua Daniel Franklin wrote: >> > Any volunteers to document heap_chunk_in_mb? It's conspicuously missing >> > in the documentation, AFAICT. >> > >> > Although, hmm, I haven't seen many complaints about this recently. That's >> > odd. Maybe the overflow code in the new malloc is actually working. >> >> Sure. What does it do? :) > >In more seriousness, where should this be documented? > >I found a couple of good posts, the best being DJ's: > >http://sources.redhat.com/ml/cygwin/2000-04/msg00267.html > >(though I believe the 'normal' max is now 256MB). >His test program (on my machine with 256MB physical memory) gives: It's 384M these days. >$ ./maxmem.exe >1b5a4000 bytes (437.6Mb) > >Perhaps a good place would be in the User's Guide under the discussion of >shared memory in the "Highlights" section. Something like: > >"By default Cygwin imposes a 256MB memory limit. To raise this limit, >you may create a "heap_chunk_in_mb" registry entry, for example: > >regtool -i set /HKCU/Software/Cygnus\ Solutions/Cygwin/heap_chunk_in_mb 512 > >You will then need to reboot for it to take effect." You don't have to reboot. You just have to exit all running cygwin processes. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/