Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290765 - sys-apps/sandbox-2.2 can't extract sources on with <=160M physical memory
Summary: sys-apps/sandbox-2.2 can't extract sources on with <=160M physical memory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-27 15:22 UTC by Ben Kohler
Modified: 2009-11-26 03:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kohler gentoo-dev 2009-10-27 15:22:24 UTC
Since lzma has a hard memory limit of 40% of physical memory, and sandbox-2.2.tar.lzma needs 65M to extract, users with <162.5M physical memory can't unpack it.

Nearly identical scenario to bug #284602, dropping from -9 to -6 fixed it there (without a noticeable change to the tarball size).

Reproducible: Always

Steps to Reproduce:
1.  emerge =sys-apps/sandbox-2.2
Actual Results:  
lzma -dc /usr/portage/distfiles/sandbox-2.2.tar.lzma | tar xf - --no-same-owner
lzma: /usr/portage/distfiles/sandbox-2.2.tar.lzma: Memory usage limit reached
lzma: Limit was 45 MiB, but 65 MiB would have been needed
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors


Expected Results:  
extract like normal
Comment 1 SpanKY gentoo-dev 2009-10-28 04:13:41 UTC
automake doesnt have a way of controlling it, so i had to hack it into the build system.  levels 6-9 produce the same compression sizes, so default 6 is fine.

http://git.overlays.gentoo.org/gitweb/?p=proj/sandbox.git;a=commitdiff;h=e1cc47d12dfda65e4586317115c293510beff7ee
Comment 2 Steev Klimaszewski (RETIRED) gentoo-dev 2009-11-26 03:28:46 UTC
Hey Mike, can you push out a 2.2.1 for this or something so those of us with the low memory systems can install sandbox?  Maybe I'm just hitting a bad mirror or something, but I'm still getting the old 2.2 lzmaball that requires too much memory to install.