I think you can edit the file ~/.jack-settings add SERVER_NB_COMPILE=1 you can adjust the no., but my PC doesn't work on anything more than 1... and finally restart jack server
On Sunday, May 22, 2016 at 1:27:46 AM UTC+8, 伍小二 wrote: > > when I compile the android 6.0 source code, encounter the following > problem > > > FAILED: /bin/bash > out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/dex-dir/classes.dex.rsp > Out of memory error (version 1.2-rc3 'Carnac' (298500 > fea776d029fb8ceb9dfa1e7c354e03ac4c3597de 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. > ninja: build stopped: subcommand failed. > build/core/ninja.mk:146: recipe for target 'ninja_wrapper' failed > make: *** [ninja_wrapper] Error 1 > > > > How to solve it, Thank YOU! > -- -- 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.
