Hilco Wijbenga wrote:
I have a very small virtual server (just 64MB RAM, no swap) where I'm
trying to install Gentoo. It fails to emerge binutils due to out of
memory. According to the handbook I need 64MB RAM and 256MB swap as a
bare minimum so this result is not entirely unexpected.

Given that I can't add a swapfile (simply not possible in this virtual
server) is the only option more RAM? If yes, then what is the minimum?
Are there ways to reduce the amount of memory used by emerge?

64MB is not enough, not by any stretch of the imagination. Not for running the system, but for emerge. 512MB should be there for building with -O2. At *least* 384MB. You'll have a hard time compiling the compiler itself though; RAM usage with -O2 goes up to 700MB.

With that being said, you can minimize RAM usage by using -O1, or even -O0 to switch off the optimizer completely. The runtime speed of the built programs won't be to your liking though.

The only real option is to get more RAM.


Reply via email to