Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge --sync
Date: Mon, 15 Oct 2012 19:59:17
Message-Id: 20121015215607.1584a365@khamul.example.com
In Reply to: Re: [gentoo-user] emerge --sync by Silvio Siefke
1 On Mon, 15 Oct 2012 21:03:59 +0200
2 Silvio Siefke <siefke_listen@×××.de> wrote:
3
4 > On Mon, 15 Oct 2012 19:50:07 +0200
5 > Alex Schuster <wonko@×××××××××.org> wrote:
6 >
7 > > As it says, you're out of memory. It seems you are low on RAM, what
8 > > does free -m say? Maybe you need to add some swap space?
9 >
10 >
11 > lvps5-35-240-192 / # free -m
12 > total used free shared buffers
13 > cached Mem: 164600 11 164589 0
14 > 0 0 -/+ buffers/cache: 11 164589
15 > Swap: 0 0 0
16
17 You have 164M of RAM, that is not enough. Packages like gcc and glibc
18 will probably just not compile with so little RAM[1], and there is no
19 way on a Gentoo machine to avoid compiling those. You have several
20 options:
21
22 - use something else, not Gentoo
23 - Buy more RAM from the virtual machine provider
24 - build on another machine and emerge the binary packages.
25
26 The first is the one with the least pain.
27
28 [1] I have regular 32bit x86 VMs in my test lab that struggle to
29 properly compile big packages with 256M and sometimes even 512M is not
30 enough - gcc is the usual culprit.
31
32
33
34 --
35 Alan McKinnon
36 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] emerge --sync Silvio Siefke <siefke_listen@×××.de>
Re: [gentoo-user] emerge --sync Alex Schuster <wonko@×××××××××.org>