Sure Jan-Simon, I would try with lesser threads and update the mail.
But I have one doubt that how come with older URL, .../ releases/daily/2.0alpha/common/latest/<http://download.tizen.org/releases/daily/2.0alpha/common/latest/>, --threads=8 works fine with no issues for the same Tizen-2.0 source code. -- Regards, Yogesh Gaur. On Wed, Mar 20, 2013 at 5:25 PM, Jan-Simon Möller <dl...@gmx.de> wrote: > Hi Yogesh, > > --threads=1 fixes it. > > So my hunch is: for --threads=8 you need at least 8GB RAM. > > Some of these compilations (and the emulation) need a lot of memory. > > Try with less threads - 1 or 2 . > > Best, > Jan-Simon > > > Am Mittwoch, 20. März 2013, 16:48:04 schrieb Yogesh Gaur: > > Hello Jan-Simon, > > > > I have also faced same "OutofMemory" issue while building Tizen source > code > > on CentOS-6.3 machine, when building source code with URL "url = > > http://download.tizen.org/releases/2.0/tizen-2.0_20130219.4/" > > Before using this URL I was using URL "url = > > http://download.tizen.org/releases/daily/2.0alpha/common/latest/", with > > this URL in ~/.gbs.conf I never faced OOM issue. > > > > Build Command Used: > > *$ gbs build > > > --exclude=libgcc-x86,grep-MACRO,make-MACRO,rpm-build-x86,make-x86,grep-x86,v > > conf,perl-libwww-perl -A armv7l --threads=8 --keep-packs > > * > > Please note that when I mark threads as 1, then I didn't get OOM issue > with > > new URL i.e. .../2.0/tizen-2.0_20130219.4/ > > *$ gbs build > > > --exclude=libgcc-x86,grep-MACRO,make-MACRO,rpm-build-x86,make-x86,grep-x86,v > > conf,perl-libwww-perl -A armv7l --threads=1 --keep-packs > > * > > I think it needs to be checked that when build is getting started with > > multi-thread then OOM occurs. > > My system configuration: > > > > [root@do-tacoon04 gbs]# which rpmbuild > > /usr/bin/rpmbuild > > [root@do-tacoon04 gbs]# rpmbuild --version > > RPM version 4.8.0 > > > > [root@do-tacoon04 logs]# cat /proc/meminfo > > MemTotal: 3984788 kB > > MemFree: 1627312 kB > > Buffers: 363648 kB > > Cached: 1375664 kB > > > > When OOM occurs, MemFee would become very low. > > > > [root@localhost ~]# cat /proc/cpuinfo | grep "proce" > > processor : 0 > > processor : 1 > > processor : 2 > > processor : 3 > > processor : 4 > > processor : 5 > > processor : 6 > > processor : 7 > > > > > > -- > > Regards, > > Yogesh Gaur. > > > > On Wed, Mar 20, 2013 at 3:54 PM, Jan-Simon Möller <dl...@gmx.de> wrote: > > > Hi ! > > > > > > Can you please do these steps: > > > > > > ulimit -c unlimited > > > > > > gbs build -A armv7l --exclude=gettext,cmake,c-ares,perl-libwww-perl \ > > > --threads=1 > > > > > > Please send me or upload to a public service these files: > > > > > > * the generated core > > > * your rpmbuild binary ('which rpmbuild') > > > * dpkg-query -W rpmbuild > > > * dmesg | tail (the segfault line) > > > > > > What is your system's memory and cpu ? > > > > > > Best, > > > Jan-Simon > > > > > > Am Mittwoch, 20. März 2013, 14:21:19 schrieb Vaibhav Shinde: > > > > Hi all, > > > > > > > > I am trying to build Tizen on ubuntu, with the following url in gbs > conf > > > > *url = > http://download.tizen.org/releases/2.0/tizen-2.0_20130218.10/* > > > > > > > > I am trying with the following build command > > > > *# gbs build -A armv7l > --exclude=gettext,cmake,c-ares,perl-libwww-perl > > > > --threads=2* > > > > The excluded packages get failed, thus I have bypassed them. > > > > > > > > The build get terminated while configuration, saying Out of memory > and > > > > segmentation fault - > > > > The below is the error i get - > > > > > > > > *Out of memory! > > > > Segmentation fault (core dumped) > > > > error: <gbs>rpmbuild fails > > > > > > > > *Please provide me the solution for the same. > > > > > > > > Thanks in advance*, > > > > > > > > *Regards, > > > > Vaibhav Shinde* > > > > > > > > > > > > > > > > * > > > > > > -- > > > > > > Dipl.-Ing. > > > Jan-Simon Möller > > > > > > jansimon.moel...@gmx.de > > > _______________________________________________ > > > General mailing list > > > General@lists.tizen.org > > > https://lists.tizen.org/listinfo/general > -- > > Dipl.-Ing. > Jan-Simon Möller > > jansimon.moel...@gmx.de >
_______________________________________________ General mailing list General@lists.tizen.org https://lists.tizen.org/listinfo/general