Hi,

Interestingly when i started on N some 6-8 months before, i also had a 
similar first error so thought of sharing the complete information.

Refer to this thread

 

https://code.google.com/p/android/issues/detail?id=197333

 

Key points as per this thread :-

 

è  *About memory: please note that recommended minimum memory for building 
an Android tree is 16G.*

 

Iè Issues observed on machine with < 16GB RAM:

o   Communication error with Jack server

o   Out of memory error (version 1.2-rc4 'Carnac'


Once you will move to a 16 GB RAM machine, all such errors should vanish :-)

This is what i have experienced 




 


On Wednesday, June 7, 2017 at 9:10:23 PM UTC+5:30, Aditya Parmar wrote:
>
> *FAILED: /bin/bash 
> out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-local/classes.dex.rsp*
> *Out of memory error (version 1.2-rc4 'Carnac' (298900 
> f95d7bdecfceb327f9d201a1348397ed8a843843 by [email protected] 
> <javascript:>)).*
> *GC overhead limit exceeded.*
> *Try increasing heap size with java option '-Xmx<size>'.*
> *Warning: This may have produced partial or corrupted output.*
> *[ 10% 1546/15246] Building with Jack: 
> ...ort-v13-nyc_intermediates/classes.jack*
> *ninja: build stopped: subcommand failed.*
> *build/core/ninja.mk:148 <http://ninja.mk:148>: recipe for target 
> 'ninja_wrapper' failed*
> *make: *** [ninja_wrapper] Error 1*
>
> *#### make failed to build some targets (13:06 (mm:ss)) ####*
>
> i am building for the first time to i am not sure what the error is.
> On Tuesday, June 6, 2017 at 10:41:00 PM UTC+5:30, Colin Cross wrote:
>>
>> Look earlier in the log for a line that starts with FAILED: 
>>
>> On Tue, Jun 6, 2017 at 7:57 AM, Aditya Parmar <[email protected]> wrote: 
>> > Getting this error when running make -j16 
>> > 
>> > 
>> > 
>> > [  0% 148/15413] Building with Jack: 
>> > o...phonenumber_intermediates/classes.jack 
>> > ninja: build stopped: subcommand failed. 
>> > build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed 
>> > make: *** [ninja_wrapper] Error 1 
>> > 
>> > -- 
>> > -- 
>> > You received this message because you are subscribed to the "Android 
>> > Building" mailing list. 
>> > To post to this group, send email to [email protected] 
>> > To unsubscribe from this group, send email to 
>> > [email protected] 
>> > For more options, visit this group at 
>> > http://groups.google.com/group/android-building?hl=en 
>> > 
>> > --- 
>> > You received this message because you are subscribed to the Google 
>> Groups 
>> > "Android Building" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an 
>> > email to [email protected]. 
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to