Hi Geoffroy,
I get the same memory allocation error on another machine with 12 GB of RAM
and 9 GB of swap. Both machines are running a 32-bit Ubuntu 14.04. Maybe
this is what causes the issue with the 64-bit build. I started a 32-bit
build and will let you know the result.
Best regards,
Olivier Delbeke Senior Software Engineer
[email protected] / T. +32 2 389 25 53 AWTC Europe S.A. -
Avenue de l’Industrie, 19 - 1420
Braine-l’Alleud - Belgium - www.aweurope.eu - www.aisin-aw.co.jp
VAT : BE 0474.474.114 - RPM Nivelles
"VanCutsem,
Geoffroy"
<geoffroy.vancuts To
[email protected]> Olivier Delbeke
<[email protected]>, José
01/19/2015 01:05 Bollo
PM <[email protected]>
cc
"[email protected]"
<[email protected]>
Subject
RE: [IVI] tizen-distro : memory
allocation error when linking
crosswalk
Hi Olivier,
I really don’t think you need more than 16GB of RAM, I could compile
Crosswalk on a much-lower spec system (4GB of RAM) myself and I was
building for genericx86-64 too. I’m no expert in memory set-up but I was
always advised to set-up a swap area of about the same size of the RAM of
the system, your dev machine is rather unbalanced from that perspective,
maybe an interesting experiment would be to turn swap off completely to see
if it makes any difference?
Geoffroy
-----------------------------------------------
Intel Corporation NV/SA
Kings Square, Veldkant 31
2550 Kontich
RPM (Bruxelles) 0415.497.718.
Citibank, Brussels, account 570/1031255/09
From: IVI [mailto:[email protected]] On Behalf Of Olivier Delbeke
Sent: Monday, January 19, 2015 12:10 PM
To: José Bollo
Cc: [email protected]
Subject: Re: [IVI] tizen-distro : memory allocation error when linking
crosswalk
Hi José,
Sorry for the missing information. I'm just trying for the default
MACHINE : "genericx86-64".
Thank you and best regards,
Olivier Delbeke Senior Software Engineer
[email protected] / T. +32 2 389 25 53
AWTC Europe S.A. - Avenue de l’Industrie, 19 - 1420
Braine-l’Alleud - Belgium -
www.aweurope.eu - www.aisin-aw.co.jp
VAT : BE 0474.474.114 - RPM Nivelles
Inactive hide details for José Bollo ---01/19/2015 12:06:08 PM---José Bollo
<[email protected]>José Bollo ---01/19/2015 12:06:08 PM---José
Bollo <[email protected]>
José Bollo <
[email protected]
ciel.org>
To
01/19/2015 12:06 PM
Olivier Delbeke <
[email protected]>
cc
"[email protected]" <
[email protected]>
Subject
Re: [IVI] tizen-distro :
memory allocation error
when linking crosswalk
Hello,
just a detail, what is your target arch?
Best regards
José Bollo
Le lundi 19 janvier 2015 à 11:40 +0100, Olivier Delbeke a écrit :
> Dear all,
>
> I'm trying to compile Tizen IVI with Yocto (bitbake), but I always get
> the same error "Cannot allocate memory" when it tries to link
> crosswalk. All the other packages compile fine. The full error message
> is "fatal error: xwalk: mmap: failed to allocate 1810592752 bytes for
> output file: Cannot allocate memory"
>
> I get this even on my biggest machine (16GB RAM + 4GB swap), running
> Ubuntu 14.04 and having 15 GB of free memory before starting the
> build. In addition, I set BB_NUMBER_THREADS = "1" and PARALLEL_MAKE =
> "-j1" in my local.conf, and I'm calling ninja with '-j1' in
>
meta-tizen/meta-tizen-common-share/recipes-crosswalk/crosswalk/crosswalk.inc.
I also don't have blocking ulimits ("max memory size":"unlimited",
"virtual memory":"unlimited").
>
> Should my configuration be enough, or do I really need a machine with
> more than 16 GB of RAM ? Anything I should test/check ? If my machine
> is too small, how many GB of RAM should I add ?
>
> As a test, I'd like to compile it without the debugging symbol. How
> can I do that with 'ninja' ?
>
> Thank you and best regards,
>
>
>
> Olivier Delbeke Senior
> Software Engineer
> [email protected] /
> T. +32 2 389 25 53
> ___________________________
> AWTC Europe S.A. - Avenue
> de l’Industrie, 19 - 1420
> Braine-l’Alleud - Belgium -
> www.aweurope.eu -
> www.aisin-aw.co.jp
> VAT : BE 0474.474.114 - RPM
> Nivelles
>
> This mail, and any attachments thereto, is intended only for use by
> the addressee(s) named herein and may contain legally privileged
> and/or confidential information. If you are not the intended
> recipient, please note that any review, dissemination, disclosure,
> alteration, printing, copying or transmission of this mail and/or any
> file transmitted with it, is strictly prohibited and may be unlawful.
> If you have received this mail by mistake, please immediately notify
> the sender as well as our mail administrator at
> [email protected], and permanently destroy the original as well
> as any copy thereof.
>
> _______________________________________________
> IVI mailing list
> [email protected]
> https://lists.tizen.org/listinfo/ivi
This mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or
confidential information. If you are not the intended recipient, please
note that any review, dissemination, disclosure, alteration, printing,
copying or transmission of this mail and/or any file transmitted with it,
is strictly prohibited and may be unlawful. If you have received this mail
by mistake, please immediately notify the sender as well as our mail
administrator at [email protected], and permanently destroy the
original as well as any copy thereof.
This mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or
confidential information. If you are not the intended recipient, please note
that any review, dissemination, disclosure, alteration, printing, copying or
transmission of this mail and/or any file transmitted with it, is strictly
prohibited and may be unlawful. If you have received this mail by mistake,
please immediately notify the sender as well as our mail administrator at
[email protected], and permanently destroy the original as well as any
copy thereof. _______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi