Android 9 build error with clean AOSP build

cancel
Showing results for 
Search instead for 
Did you mean: 

Android 9 build error with clean AOSP build

Jump to solution
1,195 Views
vinothkumars
Senior Contributor III

Dear NXP,

 

I am working on IMX8QM with Android 9. I got build error after with clean Android 9 build. 

Build Steps,

     source build/envsetup.sh

     lunch mek_8q_car-userdebug

     make clean 

 

     make -j6

OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000d4400000, 132120576, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 132120576 bytes for committing reserved memory.

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 Kudos
1 Solution
516 Views
vinothkumars
Senior Contributor III

Build was done. once reboot the system

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar

View solution in original post

0 Kudos
3 Replies
517 Views
vinothkumars
Senior Contributor III

Build was done. once reboot the system

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar

View solution in original post

0 Kudos
516 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello VinothS,

The AOSP is supported by Google so I would suggest that you consult the Google Developer Forums.

It seems, however, that you need more RAM (or SWAP) memory for building Android. Please review the requirements from the Android Source repository:

https://source.android.com/setup/build/requirements

I hope this helps.
Regards,

0 Kudos
516 Views
vinothkumars
Senior Contributor III

Thank you Gusarambula,

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 Kudos