[webkit-dev] Tools/Scripts/build-webkit --gtk --debug --makeargs="-j1" taking up to 80% of memory

Osztrogonac Csaba oszi at inf.u-szeged.hu
Mon Jan 2 02:34:57 PST 2012

Hi All,

32 bit debug build is impossible long time ago, because linker runs
out of 4Gb address space. Maybe cross compiling on a 64 bit machine
can solve this problem. Is there anyone interested in 32 bit build?


Zeno Albisser írta:
> Hi Sachin,
> We had the same/a similar problem with QtWebKit.
> Ranlib ran out of memory on a 32bit system when building debug, because the library got bigger than 4GB.
> I dont think there is a proper solution for this problem. The only thing that would help would be to reduce the size of WebCore. For now we just disabled debug builds on 32bit systems. I heard some people managed to build debug by disabling SVG. - never tried it myself though.
> Best Regards
> -- Zeno
> On Dec 27, 2011, at 6:45 AM, sachin nikam <sknikam at gmail.com> wrote:
>> I synced up the latest webkit code base and am trying to build webkit
>> gtk on ubuntu 11.10 with 4gb of RAM and 4 CPUs
>> I tried with --makeargs="-j2" but still got "ld process terminated
>> signal[9]" error  which indicates that it ran out of memory.
>> I suspect i will still the get the same error with --makeargs="-j1".
>> Is there any other flag where we can restrict the memory usage?
>> Regards
>> Sachin

More information about the webkit-dev mailing list