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