delorie.com/archives/browse.cgi | search |
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=csiC2QNK/hOaRwc/deV/XWBdHA3yPiMD8pagFxwYptZ+RV4rr5kKs | |
4jAWjHCuLfmKs4gU0vg1uzJv/8und/7inNd/8zmfrXrUS3LJISFz88ePdKnF7Hct | |
/cKAFz4t7HKoNwijoc9O2RCC12xkn53Ky5Z/ysx1+9Kfd940MYXefw= | |
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=lyc7VcvrfMUAF41+gq+Mjgce0TU=; b=jzjrHNM+/gFk7gTvdVh6tUQ6Aly9 | |
U0NaQRJF8CW4AgwfnmEJJM8GN1LJgNycTEbXFJXY+Fuvk88pSvMDi+aZ3jhMlXw+ | |
4rxNEbpIOkt7Z25IxS3hbyN1y8KbILEkm6ZGx6SHbfj6lN3h0Oou73C1KfSUX72P | |
UYl42wguhqFkjKs= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-5.0 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,NO_RELAYS autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Thu, 29 Aug 2013 18:00:00 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: xz -9 : Cannot allocate memory |
Message-ID: | <20130829160000.GT21571@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> <loom DOT 20130829T155739-66 AT post DOT gmane DOT org> <loom DOT 20130829T162752-851 AT post DOT gmane DOT org> <20130829151121 DOT GR21571 AT calimero DOT vinschen DOT de> <521F699C DOT 1060703 AT cwilson DOT fastmail DOT fm> |
MIME-Version: | 1.0 |
In-Reply-To: | <521F699C.1060703@cwilson.fastmail.fm> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
--GTGEtWEe6jD60dxL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Aug 29 11:32, Charles Wilson wrote: > On 8/29/2013 11:11 AM, Corinna Vinschen wrote: > >On Aug 29 14:34, Achim Gratz wrote: > >>Achim Gratz <Stromeko <at> NexGo.DE> writes: > >>>With the initial heap size set to 1MB, the same allocations for mmap w= ork > >>>just fine. The mmap length used by xz is the same for files of all si= zes. > >> > >>The large mmap is for the scratchpad memory of xz, which can be limited= via > >>the -M option. Currently it fails when this gets larger than 616MiB > >>(standard for -9 is 674Mib). > > > >I'm not exactly surprised. You're on a 32 bit machine, so you only have > >2 Gigs VM. Probably some DLLs are in the way. Load xz under GDB, break > >on "cygwin_exit", run it, and when it hits the breakpoint, observer the > >memory layout, either in GDB, or by cat'ing /proc/<xz's pid>/maps. > >Observing the memory layout helps a lot to understand why there's some > >memory problem, especially if the application tries to get a big buffer > >space in a single chunk. >=20 > So...this is NOTABUG, right? Right. But is a bit lame that it just fails. Does it have to use this big buffer or would it also work with a smaller buffer, if there's no memory chunk big enough? Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --GTGEtWEe6jD60dxL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBAgAGBQJSH3AAAAoJEPU2Bp2uRE+gimcP/jPAgmwa1TKbjJVvadt3KiSX 1ETPN2+8N2Xkm0kOypujiunV8jf/ccvj/KU2qRaN+opPAUkfFsBh6EDD9vhTUVyo d6bSI63cE/fRsbI/gC0jzdl4eLrdZyrCORpOyDB/sbtksymSfOfLUtBprbQMiGqw kaeOdHlPEHpJBJpb2fiZZer9GUCeVtNs4yvtR6OjEFK++rhlSr6U6QZsAfrx338C BCNA2OSjlLdQcqyiuhV+xLjnVtjoYQsnsq467ggHIxcAqlwy490QOy1DQ0IbSjYa JSBgBvf4dCGXE8jXuJBdh053dB7ReDifwGDye5cHf5TCkEmMIfQ64KAHCvGwJ6Va bezzQY5HRhOI/2uo9WiCd57m51FnMtBdynquA8zCsY/L0Droa4US9OD6LrNgApsu TrpiakE8sDEqlXgtLtrS0QhecAw266OC+osE4w0pVTYu+6xiU8T6rhbVdBSnd6jY NzXmGfART6+Waxp6HAubyvjAFN5nVMkisShX2VMCQVSgJItoJUQB6bUoDztK9fQP 0F0H38CNhx1opbFuoRPrvs2ZC2M1Ln4CQ7Ao38ojWgkGtUnniowJmFgXjd3SaO2A 012gsrKtY/r4levKBlUVP3IiIqhRHRlUXlDEC8n7kVs0uwF5RQLWAai/IUrNYv3z L9HN1d3dJVqhyeiYbTvP =wekq -----END PGP SIGNATURE----- --GTGEtWEe6jD60dxL--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |