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

2012-01-05 Thread Soo-Hyun Choi
Sachin,

On Thu, Jan 5, 2012 at 15:18, sachin nikam skni...@gmail.com wrote:
 i am running ubuntu 11.10 64 bit. I was able to eventually build with
 --makeargs=-j1.
 I will try increase the swap space and see if it helps.

WebKit Debug build over Ubuntu 64bit machines should've been fine
without any alteration.

I had troubles for building WebKit Debug over Ubuntu 32bit (3GB RAM),
but got it working by disabling SVG related features:
e.g.,) $ ./Tools/Scripts/build-webkit --efl --debug --no-svg --no-svg-fonts

Hope this helps for those who have similar problems when building WebKit Debug.

Cheers,
Soo-Hyun
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


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

2012-01-04 Thread John Yani
On Mon, 2011-12-26 at 21:45 -0800, sachin nikam 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

I had the same problem after I've upgraded my PC to 12 GB of RAM.
Before upgrade I was able to build 32 bit webkit on my 4 GB computer
with Ubuntu 11.10 32-bit with PAE and 8 GB of swap.
So what I recommend is to remove 1 GB of memory (or load something
heavy to take that 1GB of RAM) and add more swap.

Physical address extension doesn't allow any process to take more than
[specific amount] of physical RAM, so swap  must be used. In your case
it seems like swap is never used, so the system fails to address
additional physical memory you have.

But I highly recommend upgrading your computer to minimum of 8 GB of
RAM and install 64 bit Ubuntu. If you really need 32-bit build,
cross-compiling might be an option.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


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

2012-01-04 Thread sachin nikam
i am running ubuntu 11.10 64 bit. I was able to eventually build with
--makeargs=-j1.
I will try increase the swap space and see if it helps.
Regards
Sachin

On Wed, Jan 4, 2012 at 3:55 AM, John Yani van...@gmail.com wrote:
 On Mon, 2011-12-26 at 21:45 -0800, sachin nikam 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

 I had the same problem after I've upgraded my PC to 12 GB of RAM.
 Before upgrade I was able to build 32 bit webkit on my 4 GB computer
 with Ubuntu 11.10 32-bit with PAE and 8 GB of swap.
 So what I recommend is to remove 1 GB of memory (or load something
 heavy to take that 1GB of RAM) and add more swap.

 Physical address extension doesn't allow any process to take more than
 [specific amount] of physical RAM, so swap  must be used. In your case
 it seems like swap is never used, so the system fails to address
 additional physical memory you have.

 But I highly recommend upgrading your computer to minimum of 8 GB of
 RAM and install 64 bit Ubuntu. If you really need 32-bit build,
 cross-compiling might be an option.
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


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

2012-01-03 Thread Nikolas Zimmermann

Am 03.01.2012 um 04:20 schrieb Soo-Hyun Choi:

 Philippe,
 
 On Mon, Jan 2, 2012 at 19:40, Philippe Normand ph...@igalia.com wrote:
 On Mon, 2011-12-26 at 21:45 -0800, sachin nikam 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
 
 Can you try with the GNU Gold linker? We use it on the GTK Debug bot.
 
 
 I have tried GNU gold linker (Version: 2.20.1-3ubuntu7.1) on Ubuntu
 10.04 (32-bit) without success. Could you let us know how you have
 been successful to build WebKit Debug on 32-bit machines in more
 detail? I have tried building Efl Debug, by the way.

Just a side note: I'm building 32bit release builds on my 32bit MBP from 2006 
with a set of specific xcode hack that I'm maintaining locally:
Add all {Editing|Render|DOM}AllInOne.cpp files to build, remove all files from 
WebCore target that are referenced in those files.
This allows to use build-webkit, with all default features enabled.

I tried this the last time 2 weeks ago, and it worked fine.
I'm not sure if its worth investigating to maintain two Xcode project files, 
just for that. If one really wants it, its possible with this trick.

Cheers,
Niko



___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


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

2012-01-03 Thread Soo-Hyun Choi
Niko,

On Tue, Jan 3, 2012 at 17:21, Nikolas Zimmermann
zimmerm...@physik.rwth-aachen.de wrote:
 Just a side note: I'm building 32bit release builds on my 32bit MBP from 2006 
 with a set of specific xcode hack that I'm maintaining locally:
 Add all {Editing|Render|DOM}AllInOne.cpp files to build, remove all files 
 from WebCore target that are referenced in those files.
 This allows to use build-webkit, with all default features enabled.


WebKit Release build with 32-bit machines are fine without any
modification. People seem to have troubles building Debug option with
those machines. Thanks anyway for your note.

Soo-Hyun
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


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

2012-01-02 Thread Osztrogonac Csaba

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?

br,
Ossy

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 skni...@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


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


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

2012-01-02 Thread Soo-Hyun Choi
Philippe,

On Mon, Jan 2, 2012 at 19:40, Philippe Normand ph...@igalia.com wrote:
 On Mon, 2011-12-26 at 21:45 -0800, sachin nikam 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

 Can you try with the GNU Gold linker? We use it on the GTK Debug bot.


I have tried GNU gold linker (Version: 2.20.1-3ubuntu7.1) on Ubuntu
10.04 (32-bit) without success. Could you let us know how you have
been successful to build WebKit Debug on 32-bit machines in more
detail? I have tried building Efl Debug, by the way.

Kind regards,
Soo-Hyun



 Philippe

 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


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

2011-12-27 Thread Zeno Albisser
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 skni...@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
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


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

2011-12-26 Thread sachin nikam
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
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev