Re: [android-building] make: *** [ninja_wrapper] Error 1

2018-08-12 Thread Yogesh Bhat
In the same post, the one person says, that the java -Xms command for space 
allocation solved the problem.


On Thursday, June 8, 2017 at 8:47:52 PM UTC+5:30, Deepak Garg wrote:
>
>
> 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.*
>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] make: *** [ninja_wrapper] Error 1

2017-08-04 Thread Viraj Kanase


On Wednesday, June 7, 2017 at 9:10:23 PM UTC+5:30, aadi 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 android-...@google.com 
> )).*
> *GC overhead limit exceeded.*
> *Try increasing heap size with java option '-Xmx'.*
> *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 : 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  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 android-...@googlegroups.com 
>> > To unsubscribe from this group, send email to 
>> > android-buildi...@googlegroups.com 
>> > 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 android-buildi...@googlegroups.com. 
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>

Try  export USE_NINJA=false it will desable ninja 

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] make: *** [ninja_wrapper] Error 1

2017-06-08 Thread Aditya Parmar
Thanks just solved the error i did;nt ran make clobber and started 
jack-server manually 

On Thursday, June 8, 2017 at 8:47:52 PM UTC+5:30, Deepak Garg wrote:
>
>
> 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 android-...@google.com)).*
>> *GC overhead limit exceeded.*
>> *Try increasing heap size with java option '-Xmx'.*
>> *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 : 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  
>>> 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 android-...@googlegroups.com 
>>> > To unsubscribe from this group, send email to 
>>> > android-buildi...@googlegroups.com 
>>> > 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 android-buildi...@googlegroups.com. 
>>> > 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 android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] make: *** [ninja_wrapper] Error 1

2017-06-08 Thread Deepak Garg

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 android-...@google.com 
> )).*
> *GC overhead limit exceeded.*
> *Try increasing heap size with java option '-Xmx'.*
> *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 : 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  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 android-...@googlegroups.com 
>> > To unsubscribe from this group, send email to 
>> > android-buildi...@googlegroups.com 
>> > 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 android-buildi...@googlegroups.com. 
>> > 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 android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] make: *** [ninja_wrapper] Error 1

2017-06-07 Thread Aditya Parmar
*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 android-jack-t...@google.com)).*
*GC overhead limit exceeded.*
*Try increasing heap size with java option '-Xmx'.*
*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: 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  > 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 android-...@googlegroups.com 
>  
> > To unsubscribe from this group, send email to 
> > android-buildi...@googlegroups.com  
> > 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 android-buildi...@googlegroups.com . 
> > 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 android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] make: *** [ninja_wrapper] Error 1

2017-06-06 Thread Colin Cross
Look earlier in the log for a line that starts with FAILED:

On Tue, Jun 6, 2017 at 7:57 AM, Aditya Parmar  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 android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> 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 android-building+unsubscr...@googlegroups.com.
> 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 android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-building] make: *** [ninja_wrapper] Error 1

2017-06-06 Thread Aditya Parmar
*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 android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.