Wrapping up:
With 2GB of RAM it seems I can compile the debug mode, even without
using the gold replacement for ld.
The linking step of the final executable takes the remaining
1.5Gb~1.7Gb of physical memory, then another 500Mb~600Mb of swap. It
stays at that level instead of gradual expanding
if I want to install it on Fedora I note that there isn't package (yet)
It is good that you are trying to build for Fedora.
I just mention that are a few rpm package options for fedora:
http://spot.fedorapeople.org/chromium
and the chrome dev channels rpm wrapping:
Thanks Yuta-san.
That's a good-idea-I-should-have-had-myself. It works! I missed the
memory usage during the first pass, but rebuilding just the
src/sconsbuild/Release/chrome executable was a mere 200Mb.
When I get the extra memory I'll confirm Marc-Antoine's observation.
Cheers,
Hi Adam/Evan/Pawell, thanks for the useful feedback.
This gold sounds good, although if I want to install it on Fedora I note
that there isn't package (yet) and the src/build/install-build-deps.sh
script is apparently only for Ubuntu 8/9, so I will have to go the 'hard
way' mentioned on the
On Tue, Nov 3, 2009 at 1:01 AM, 黒鉄章 ak...@yayakoshi.net wrote:
This gold sounds good, although if I want to install it on Fedora I note
that there isn't package (yet) and the src/build/install-build-deps.sh
script is apparently only for Ubuntu 8/9
Patches to fix this would be welcome.
so I
Hi,
I've experienced the same problem before. As far as I tested, building
Release mode binary (hammer --mode=Release) would require much less memory
than Debug binary. If it's sufficient for you, you may want to try this.
Thanks,
Yuta
On Tue, Nov 3, 2009 at 6:01 PM, 黒鉄章 ak...@yayakoshi.net
On Fri, Oct 30, 2009 at 9:10 AM, Akira ak...@yayakoshi.net wrote:
I was building on Fedora 10 and was able to compile but the
linking stage (see below) consumes more and more memory- the 500Mb of
remaining memory, then another 1Gb of swap- before being killed.
Are you using gold?
If you have less than 1 GB of RAM, I wouldn't even try to link the biggest
binaries. 2 GB of RAM should be sufficient, although with 4 and more it's
better. And you will notice the change after switching to gold.
On Mon, Nov 2, 2009 at 18:58, Adam Langley a...@chromium.org wrote:
On Fri, Oct