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,

Akira

On Wed, Nov 4, 2009 at 2:10 PM, Yuta Kitamura <yu...@chromium.org> wrote:

> 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> wrote:
>
>> 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 LinuxFasterBuilding wiki. (Accordingly I don't think
>> it should be specified as a chromium build requirement until most
>> distributions are supported.)
>>
>> By the sounds of it 2Gb of physical memory really is the minimum, and I
>> better get upgrade my hardware. Technically my motherboard should support
>> that (as a max) but I failed to boot the other day when trying to add
>> different-sized DIMM. I will track down two identical 1Gb DIMMs and put them
>> in.
>>
>> Reporting back later,
>>
>> Akira
>>
>>
>> On Tue, Nov 3, 2009 at 3:02 AM, Paweł Hajdan Jr. <phajdan...@chromium.org
>> > wrote:
>>
>>> 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 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?
>>>>
>>>>
>>>> http://code.google.com/p/chromium/wiki/LinuxFasterBuilds#Linking_using_gold
>>>>
>>>> If not, that's the single biggest win for linking size and speed. I
>>>> know Evan builds on his laptop using gold, but I don't know the exact
>>>> specs.
>>>>
>>>>
>>>> AGL
>>>>
>>>>
>>>>
>>>
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to