Re: [android-building] Heap size increase without jack help
在 2018年5月25日星期五 UTC+8下午10:49:51,John Kasaki写道: > > I'm running VM with 3GB and 20GB exchange zone,looks like pretty small,hah? Did you work it out? I have encounter the same error, build target is "classes-full-debug.jar", and also, I got the same error "Exception in thread "main" java.lang.OutOfMemoryError: Java heap space". the VM is setup with 4GB memory and 32GB swapfile, I'm pretty sure it's enough. There must be something else going worry. -- -- 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] Heap size increase without jack help
I'm running VM with 3GB and 20GB exchange zone,looks like pretty small,hah? -- -- 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] Heap size increase without jack help
How much memory does your build machine have? On Thu, May 24, 2018 at 8:20 AM John Kasakiwrote: > Hello!I'm building the master branch of AOSP without jack and face some > trouble.Here is the log: > [ 4% 1/21] Target Java: > out/target/co...r_intermediates/classes-full-debug.jar > FAILED: > out/target/common/obj/APPS/Dialer_intermediates/classes-full-debug.jar > /bin/bash -c "(rm -f > out/target/common/obj/APPS/Dialer_intermediates/classes-full-debug.jar ) && > (rm -rf out/target/common/obj/APPS/Dialer_intermediates/classes > out/target/common/obj/APPS/Dialer_intermediates/anno ) && (mkdir -p > out/target/common/obj/APPS/Dialer_intermediates/ ) && (mkdir -p > out/target/common/obj/APPS/Dialer_intermediates/classes > out/target/common/obj/APPS/Dialer_intermediates/anno ) && > (out/soong/host/linux-x86/bin/zipsync -d > out/target/common/obj/APPS/Dialer_intermediates/srcjars -l > out/target/common/obj/APPS/Dialer_intermediates/srcjar-list -f \"*.java\" > out/target/common/obj/APPS/Dialer_intermediates/aapt2.srcjar ) && (if [ -s > out/target/common/obj/APPS/Dialer_intermediates/java-source-list -o -s > out/target/common/obj/APPS/Dialer_intermediates/srcjar-list ] ; then > out/soong/host/linux-x86/bin/soong_javac_wrapper > prebuilts/jdk/jdk9/linux-x86/bin/javac -Xmaxerrs 999 -encoding UTF-8 > -sourcepath \"\" -g -XDskipDuplicateBridges=true -XDstringConcat=inline > -encoding UTF-8 -bootclasspath > out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/core-lambda-stubs_intermediates/classes-header.jar > -classpath >
[android-building] Heap size increase without jack help
Hello!I'm building the master branch of AOSP without jack and face some trouble.Here is the log: [ 4% 1/21] Target Java: out/target/co...r_intermediates/classes-full-debug.jar FAILED: out/target/common/obj/APPS/Dialer_intermediates/classes-full-debug.jar /bin/bash -c "(rm -f out/target/common/obj/APPS/Dialer_intermediates/classes-full-debug.jar ) && (rm -rf out/target/common/obj/APPS/Dialer_intermediates/classes out/target/common/obj/APPS/Dialer_intermediates/anno ) && (mkdir -p out/target/common/obj/APPS/Dialer_intermediates/ ) && (mkdir -p out/target/common/obj/APPS/Dialer_intermediates/classes out/target/common/obj/APPS/Dialer_intermediates/anno ) && (out/soong/host/linux-x86/bin/zipsync -d out/target/common/obj/APPS/Dialer_intermediates/srcjars -l out/target/common/obj/APPS/Dialer_intermediates/srcjar-list -f \"*.java\" out/target/common/obj/APPS/Dialer_intermediates/aapt2.srcjar ) && (if [ -s out/target/common/obj/APPS/Dialer_intermediates/java-source-list -o -s out/target/common/obj/APPS/Dialer_intermediates/srcjar-list ] ; then out/soong/host/linux-x86/bin/soong_javac_wrapper prebuilts/jdk/jdk9/linux-x86/bin/javac -Xmaxerrs 999 -encoding UTF-8 -sourcepath \"\" -g -XDskipDuplicateBridges=true -XDstringConcat=inline -encoding UTF-8 -bootclasspath out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/classes-header.jar:out/target/common/obj/JAVA_LIBRARIES/core-lambda-stubs_intermediates/classes-header.jar -classpath