X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=jk1Ee+O8muwcxWxxje2lliHMpUcDMeY9YeJ6rKJ4aUyEdVfYp0bD0 dsdbGJiFAW2hliyB8xBsoGw/oBsKtW+v2pOlfxakvpZR9JRZ5FY/PF2PDi9i4GV9 00+hhuYU9/2PiQj4HExApZ1hjpF7bXE4epyAGQK/zClTagpK6cFzR0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=QyhRC9WNgsuEUJh3Wp7eRv4J0nQ=; b=w1hH1GCqiWqI40SGp1h9diH+fc3u veh1Q3seTjI3MCIGyrto30ExEI6lUHZaYHUWQwdbXqPqlLMtHnsLCADlPX8ZEGoE k9lOV7Bh6xENDoNldAMj+ZJOu0oGsRaalNK6IxvhNfpiYhqISJLCv4zbVJagfGcw K1pRwvhFrW6ldsw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.9 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,NO_RELAYS autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Fri, 30 Aug 2013 19:46:31 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: xz -9 : Cannot allocate memory Message-ID: <20130830174631.GA8831@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <50A41697 DOT 3080406 AT tiscali DOT co DOT uk> <20130829151121 DOT GR21571 AT calimero DOT vinschen DOT de> <87ioyowbq9 DOT fsf AT Rainer DOT invalid> <20130830120244 DOT GV21571 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Aug 30 12:58, Achim Gratz wrote: > Corinna Vinschen cygwin.com> writes: > > Yes, looks normal and expected from what you observed. mmap commits > > memory top-down and that was apparently the first free slot big enough > > to fullfil the request. The default heap size is 384 Megs and then > > there's apparently not enough space anywhere. >=20 > Sorry if I'm dense, but does this mean that setting the default heap size= to > zero does in fact mean it's trying to use 374MiB... wait, yes it is: the > memory map is the same when I'm setting the initial heap size to 384MiB w= ith > peflags. >=20 > So, even though that rather large heap is essentially unused at the point= of > failure and there is enough memory free just beyond the heap, the allocat= ion > still fails because both the existing heap and the free space are both > smaller than what's requested? Well, good question. You could debug the sbrk function and see why it fails to reserve the space. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBAgAGBQJSINp3AAoJEPU2Bp2uRE+gGSQP/1Xs2J02MTm01RSr+22oME87 pznWHWVumt35sK8Ev5vEffmsuq0rbnYU6CXrgkush1U9AVFdQEJxXMD3o/d9vEok qFwZxN7ZkMyjEd50UVeDoRPBlEk1nt1vR1WhoLujGCPlLdxJdVeC+FBK2OwCUXQi F98hv1csQtRM6/F4SyF1DT6FTsMtAV8GOkSF0zMJb6lg3F9JFMvRH+wtugCsAaaE 3/vQu6a0JHrSIvpm34YP+peYUeErG1SLNOTLIwWXuQuKbIrj9b2nO47Iw/cMf9FJ 3/y2wNiUHoSLoIc9J3EQds7Ef70gC2qO/9lTZ6qvOuOkOjLx/N6CDKBs5ToZ8iHY zrmNjjbeLSLb9JXsEWqKXzEF/nrprBQ29tTd8DIBYHA8fgALUoKZkRjJbRVur6AK pxp7vc4OS1SOlWIdRcDKIyQSP2pLg8TCO046uRwvFO8aTasU97UUmSl4RTuuqsoT D6joBERhzXY7J5itWBxfvjr7j034CrZzYw4uVMavbqBT8+Xpbuh+jpVv5vEY22US hIiVHHWU51AGqyMApTmL7yYgbY9+urOrWsr5fEiqPjUY39N/a5NFpM2m6rIxJrFn o/glBb8bPZJDw4LQgc/o0OVMhX24GZ2N3oruYPxt0fp/cGw3l2BKeACwLQeZ6m2h vDpbXpvHf9XbDB8Pz2JV =dJgN -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--