On 2012-02-05 18:38, Michael Mol wrote:
On Sun, Feb 5, 2012 at 12:04 PM, Samuraiii <samura...@volny.cz> wrote:
Hello,

I have (right now) 3 computers runing Gentoo and as two of them are with
only 1GB of ram - which for libreoffice compiling is not enough.

So my questions are:

1) Is it possible with distcc overcome this memory limitation? -call compile
on "weak" machine and leave memory load on "strong" one
To a limited extent, yes. You could configure things such that
compiles happen remotely, but links always have to happen locally. And
anything not done with a C or C++ compiler happens locally.

AFAICT, any C or C++ app's most memory-consumptive act is linking.

Your better bet is probably going to be to add swap.
The swap thing is good idea but wont work because (libreoffice is one of examples) ebuild checks for available ram not swap so when there is eg. 962MB of ram it fails right in begining of merge

I myself have really huge (4GB+) swap for some reasons
--
Samuraiii
e-mail: samura...@volny.cz
GnuPG key ID: 0x80C752EA (obtainable on http://pgp.mit.edu)
Full copy of public timestamp block signatures id- (from ) is included in header of html.

Reply via email to