I am using the attached manifest.xml which is from RDK release 

 


I am using Ubuntu 16.04 with below configuration

HDD : 100 GB

RAM : 2 GB

Swap file : 4 GB

Build Selection:

#source meta-cmf-raspberrypi/setup-environment 

Selected Option:
19) meta-cmf-raspberrypi/conf/machine/raspberrypi-rdk-mc.conf

I am building image for "rdk-generic-mediaclient-image".  My build is almost completed (98%), but getting below error for wpe-webkit,


| void JSXSLTProcessorOwner::finalize(JSC::Handle<JSC::Unknown> handle, void* context)
| ^~~~~~~~~~~~~~~~~~~~
| virtual memory exhausted: Cannot allocate memory
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/karthi/projects/rdk_ivstable/build-raspberrypi-rdk-mc/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/wpe-webkit/0.4.3+gitAUTOINC+bc64bbadf2-r0/temp/log.do_compile.28354)
ERROR: Task (/home/karthi/projects/rdk_ivstable/meta-rdk-ext/recipes-extended/wpe-webkit/wpe-webkit_0.4.3.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1606 tasks of which 1572 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
/home/karthi/projects/rdk_ivstable/meta-rdk-ext/recipes-extended/wpe-webkit/wpe-webkit_0.4.3.bb:do_compile
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


If anyone faced such an issue, please help me.