From fac7df2092b4b2e45d311a489e95fc2d1a3c21d8 Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Sun, 26 Sep 2010 14:44:09 -0500 Subject: [PATCH] xz-utils: Advertise XZ_DEFAULTS in README.Debian Users and administrators on resource-constrained machines (under 256 MiB of RAM, say) would benefit from xz using a --memlimit by default, but they may not know how. ML-Reference: <20100926193040.GA4562@burratino> --- debian/changelog | 1 + debian/xz-utils.README.Debian | 13 ++++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 89d3caf7..6b4449fc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,7 @@ xz-utils (4.999.9beta+20100926-1) experimental; urgency=low - xz: New German and Italian translations. - Various documentation, message, and translation updates. * debian/rules get-orig-source: Update upstream Git URL. + * xz-utils/README.Debian: Advertise XZ_DEFAULTS. -- Jonathan Nieder Sun, 26 Sep 2010 13:37:33 -0500 diff --git a/debian/xz-utils.README.Debian b/debian/xz-utils.README.Debian index 89aad9e2..c79d8d4f 100644 --- a/debian/xz-utils.README.Debian +++ b/debian/xz-utils.README.Debian @@ -21,4 +21,15 @@ package does not provide those links itself. If you would like XZ Utils to provide these commands by default for all users, install the xz-lzma package. - -- Jonathan Nieder Fri, 04 Jun 2010 02:25:06 -0500 +The memory usage of xz can vary from a few hundred kilobytes to several +gigabytes depending on the compression settings. If you would like xz +to automatically scale down its settings while compressing to decrease +memory usage, you can declare so by adding an option like the +following to your environment (e.g., in ~/.profile): + + XZ_DEFAULTS=--memlimit-compress=256MiB + export XZ_DEFAULTS + +See the "Memory usage" section of the xz(1) manual page for details. + + -- Jonathan Nieder Sun, 26 Sep 2010 14:33:55 -0500 -- 2.11.4.GIT