From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27210 invoked by alias); 20 Apr 2016 11:01:37 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 27161 invoked by uid 89); 20 Apr 2016 11:01:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_00,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=octave, Hx-languages-length:1739, Octave, 4gb X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 20 Apr 2016 11:01:27 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aspsh-0007zR-Nf for cygwin@cygwin.com; Wed, 20 Apr 2016 13:01:15 +0200 Received: from 217.10.52.10 ([217.10.52.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Apr 2016 13:01:15 +0200 Received: from Stromeko by 217.10.52.10 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Apr 2016 13:01:15 +0200 To: cygwin@cygwin.com From: Achim Gratz Subject: Re: Process map and fork problems Date: Wed, 20 Apr 2016 11:14:00 -0000 Message-ID: References: <20160420104633.GA26118@calimero.vinschen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00496.txt.bz2 Corinna Vinschen cygwin.com> writes: > This is one heap. The first region is just the already committed > part, the remainder is the reserved part. > > THis is the standard Cygwin heap area on 32 bit machines, which always > starts at 0x20000000. So, shouldn't rebase keep this area clear on these machines? > On 64 bit systems, 32 bit applications have a 4 Gig virtual address > space. On 32 bit systems, procecces only have a 2 Gig virtual address > space, unless the /3gb kernel option is given. OK. On Windows7 that means 'BCDedit /set increaseuserva=3072', right? I think all the affected machines have 4GB memory installed, but the option may not have been default when they were installed. > On 64 bit systems and on /3gb enabled 32 bit systems, the heap of 32 bit > Cygwin processes always starts at 0x80000000L. > > Since that isn't available on 32 bit systems by default, the heap has > to start within the lower 2 Gigs. That's where the 0x2000000 address > comes from. With /3GB you mean 4GT (aka PAE), right? And 32bit is without PAE? > If you have collisions because you're providing too many Cygwin DLLs, > you have to tweak these installations manually. As long as Cygwin determines automatically where the heap is located, then rebase should take care of that. It already knows to skip the cygwin1.dll address range, how would it ask for the heap location? No I don't think I have an overly large Cygwin installation, but Perl, Octave and Python pull in a lot of images. I guess what pushed it over the edge is the LLVM stuff that something pulls in since a few months, so that explains the timeframe of the problem popping up most probably. Regards, Achim. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple