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=QhnI7M7VbBXwKM6I8AF2NILVmq2pflSmZFtm16uC3FjLPIBisF1DY | |
IphGf5uxknhtJumKsZul5K0jRgBmJKrIJ2XCit/jBCqeQGSTRKByecoEslQj9a4n | |
2w8pvC+v3lk94sT0eZXP9HcbKNp2fjfTt/LlMlEkZO0/PMtYtt/oC8= | |
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=EjP7e7HO2B31O4y46ncPuu/sSKw=; b=JxafJ8BouNEMHXU5UF4XIxALLhw3 | |
kV9+HTR35BCqnxoVDZZ2n4GYnhlRkBgG1mnSX8TQxBJosY4oZCIFsxXdBb0g7qH/ | |
TSkEtVeqXaRlcyt8woEbgYP5TMpUHXUA1QYUbmzje/dsZS8qmkQSnwPeBgTKs5Rv | |
kMW6kQzVfo9amCM= | |
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=-3.7 required=5.0 tests=AWL,BAYES_50,KHOP_PGP_SIGNED,NO_RELAYS autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Thu, 29 Aug 2013 17:11:21 +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: | <20130829151121.GR21571@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> |
MIME-Version: | 1.0 |
In-Reply-To: | <loom.20130829T162752-851@post.gmane.org> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
--rJ8inJ6ig7iY3YX9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 wo= rk > > just fine. The mmap length used by xz is the same for files of all siz= es. >=20 > The large mmap is for the scratchpad memory of xz, which can be limited v= ia > 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. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --rJ8inJ6ig7iY3YX9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBAgAGBQJSH2SZAAoJEPU2Bp2uRE+gphYQAKAahhrfD5o1rRn2Ye3RTGcc nECLmqs8nhheTEaGhl23CWEt2tAZRo1knza4zdaEFPjSLyOC4/vp/O8yi+yre1yh 8FttfXrdXnrfh7roBRoUjP+gkRTMZ27J1CM6dZspqbBWac8e1J1AOW66DEsMD4c7 9gezmw/Isb+QYH8uM4d+Zr59S4oBN2LT5EE31SqQctB3DJi4rjAMxFIkwaU3FQQI Qx3nUqiz/vEXJ8PKgYTd8eL+crzMqCMt6jWA5Vlfwt48CcgdWCWQmKKlEO9SAWVT IkiQA31cn88oI166IbyNXUVAIpfjBhaSIWn8bUoKyDFhnJV3PQ/h7b2TfogD/Y7D URrl2MxVrila9o3A45lu5l+Fe3V5NictQnQBzoOR52Qj0XaLteghI2FzVSAMBzPb rGFtY5QQ2stEwlot6WAsmVHPIIibtTfwxJBKxl5gTnffrIelw/uzp8dg9WfzqRj4 YZahtZFF5k+5lQA5iae7KhYnHYLdZe0ZEaq2OJ994OHCAYWZcZsZqZm5UiDmlwG6 zrKF3X3f48ngEWuqnDaak0WWAL2lDnfWm3KU+Dr/7AM9Jj0PYLqKMWHUtxAYFwYQ esYTKd5ffn98GJ/uGFswOixFl5pZLTeq0pB0WnhhQeSJdiVV5ld2rUEASceZ6QPF wiJFX17z1dYyRNwos39X =kSuX -----END PGP SIGNATURE----- --rJ8inJ6ig7iY3YX9--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |