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:to:from:subject:date:message-id:references :mime-version:content-type; q=dns; s=default; b=n+B8I+o0sttsfgTh M4zZN6//X8DfrzAASjG11rtG/YKToQlbcw09PZy/aPkJi9fbOeWfJtGn4Bzhkebq yERxxRxtWgpxNXfRY5hO9EnqXIw/wDnDkN26/pb9miNlFv3Sz29xS45NHakjPQGv FxSC1SnUdXiBkN2QZjED/KLvd3s= 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:to:from:subject:date:message-id:references :mime-version:content-type; s=default; bh=o/qMZnoje2gwoFnHSkIBK0 gzmgM=; b=Q2qIXx/x7i7ngAvEgOkDva+oYTMr7vM+C9/vihnzUjXY5x95zEte4r hvPU4YSqvBMRFsbICAuhP1heLwuje4UhePKH1OjAOiJOlydzpW69HYDXDkFHQodl Ktx997najOEgNAoLLwctHKh/UMUamxNK2+3gFSiZ0UXb0DUS/BG48= 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=0.4 required=5.0 tests=AWL,BAYES_50,CK_HELO_GENERIC,KHOP_THREADED,RCVD_IN_PBL,RDNS_NONE,SPF_FAIL autolearn=no version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Achim Gratz Subject: Re: xz -9 : Cannot allocate memory Date: Thu, 29 Aug 2013 21:18:52 +0200 Lines: 28 Message-ID: <87eh9cwbj7.fsf@Rainer.invalid> References: <50A41697 DOT 3080406 AT tiscali DOT co DOT uk> <20130829151121 DOT GR21571 AT calimero DOT vinschen DOT de> <521F699C DOT 1060703 AT cwilson DOT fastmail DOT fm> <20130829160000 DOT GT21571 AT calimero DOT vinschen DOT de> <521F84D8 DOT 7090908 AT cwilson DOT fastmail DOT fm> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Charles Wilson writes: >> 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? > > From what I understand, it will /not/ be able to perform the kinds of > tasks that -9 specifies. E.g. -9 represents a collection of tuning > parameters, including such things as "and use a gigantic dictionary to > store bit sequences that may repeat, and hence be represented by > shortened codes". If you want a -9-sized dictionary, and you can't > get it...xz shouldn't fall back to a -8-sized one. Correct. However I had actually used --best (which is an alias for -9), which probably should tune down when -9 won't work, especially when given a file (just for testing of course) that is not even a single kiB and so it wouldn't make any difference at all which dictionary size is chosen. Normally I'd feed it something of several dozens of MiB, though. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs -- 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