微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > ubuntu 12.04 75编译出新新的问题 内存超出错误求指点 10.04不会有

ubuntu 12.04 75编译出新新的问题 内存超出错误求指点 10.04不会有

时间:10-02 整理:3721RD 点击:
collected 2048 test methods in 216 junit test classes
warning: no javadoc found for method testVFE7 in dxc.junit.opcodes.areturn,Test_areturn
compile the Main_*.Java files
dxconverter test suite sucessfully built!
intermediate Main_*.java files (for stacktrace analysis) can be found under out/host/linux-x86/obj/EXECUTABLES/dx-tests_intermediates/mainfiles
Install: out/host/linux-x86/bin/dx-tests
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfmemoryError: GC overhead limit exceeded
    at java.util.Collections$UnmodifiableCollection.iterator(Collections.java:1006)
    at com.android.dx.ssa.SCCP.addUsersToWorklist(SCCP.java:116)
    at com.android.dx.ssa.SCCP.SIMulateStmt(SCCP.java:538)
    at com.android.dx.ssa.SCCP.simulateBlock(SCCP.java:208)
    at com.android.dx.ssa.SCCP.run(SCCP.java:554)
    at com.android.dx.ssa.SCCP.process(SCCP.java:92)
    at com.android.dx.ssa.Optimizer.runSsaFormSteps(Optimizer.java:160)
    at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:100)
    at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:73)
    at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:273)
    at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:134)
    at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:87)
    at com.android.dx.command.dexer.Main.processClass(Main.java:483)
    at com.android.dx.command.dexer.Main.processFileBytes(Main.java:455)
    at com.android.dx.command.dexer.Main.access$400(Main.java:67)
    at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:394)
    at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245)
    at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131)
    at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109)
    at com.android.dx.command.dexer.Main.processOne(Main.java:418)
    at com.android.dx.command.dexer.Main.processAllFiles(Main.java:329)
    at com.android.dx.command.dexer.Main.run(Main.java:206)
    at com.android.dx.command.dexer.Main.main(Main.java:174)
    at com.android.dx.command.Main.main(Main.java:95)
make[3]: *** [out/target/common/obj/JAVA_LIBRARIES/php?mod=tag&id=6090" target="_blank" class="relatedlink">Framework_intermediates/proguard.classes-with-local.dex] Error 3

你的内存多大啊,还有没有给ubuntu分一个swap区咯,我同事以前也碰到溢出的问题,后面加了一个swap区,大概分配4G的样子,你可以试试看

谢谢我的 swap 空间没有问题 纠结

这个我以前经常遇到,有时候编译又会好,有时候又会出现在别的地方。
我那个时候6G的内存也会出现这个问题,你换个最新的jdk试试。

小编  你这个问题如何跟治了阿。我也遇到这个问题了。悲剧阿。
----- Made recovery image -------- out/target/product/techain75_ics/recovery.img
Construct recovery from boot
mkdir -p out/target/product/techain75_ics/obj/PACKAGING/recovery_patch_intermediates/
PATH=out/host/linux-x86/binPATH out/host/linux-x86/bin/imgdiff out/target/product/techain75_ics/boot.img out/target/product/techain75_ics/recovery.img out/target/product/techain75_ics/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p
failed to reconstruct target deflate chunk 1 [(null)]; treating as normal
Construct patches for 3 chunks...
patch   0 is 234 bytes (of 3441162)
patch   1 is 463010 bytes (of 504817)
patch   2 is 177 bytes (of 517)
chunk   0: normal   (         0,    3441162)         234
chunk   1: deflate  (   3441162,    1033138)      463010  (null)
chunk   2: normal   (   4474300,        580)         177
UNEXPECTED TOP-LEVEL ERROR:
java.lang.AssertionError
        at com.android.dx.dex.code.OutputFinisher.findExpandedOpcodeForInsn(OutputFinisher.java:525)
        at com.android.dx.dex.code.OutputFinisher.calculateReservedCount(OutputFinisher.java:466)
        at com.android.dx.dex.code.OutputFinisher.reserveRegisters(OutputFinisher.java:402)
        at com.android.dx.dex.code.OutputFinisher.finishProcessingAndGetList(OutputFinisher.java:358)
        at com.android.dx.dex.code.DalvCode.finishProcessingIfNecessary(DalvCode.java:108)
        at com.android.dx.dex.code.DalvCode.getCatches(DalvCode.java:195)
        at com.android.dx.dex.file.CatchStructs.finishProcessingIfNecessary(CatchStructs.java:88)
        at com.android.dx.dex.file.CatchStructs.encode(CatchStructs.java:118)
        at com.android.dx.dex.file.CodeItem.place0(CodeItem.java:211)
        at com.android.dx.dex.file.OffsettedItem.place(OffsettedItem.java:242)
        at com.android.dx.dex.file.MixedItemSection.placeItems(MixedItemSection.java:312)
        at com.android.dx.dex.file.DexFile.toDex0(DexFile.java:543)
        at com.android.dx.dex.file.DexFile.toDex(DexFile.java:216)
        at com.android.dx.command.dexer.Main.writeDex(Main.java:574)
        at com.android.dx.command.dexer.Main.run(Main.java:218)
        at com.android.dx.command.dexer.Main.main(Main.java:174)
        at com.android.dx.command.Main.main(Main.java:95)
make[3]: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/proguard.classes-with-local.dex] 错误 3

ubuntu 12.04建议降级到gcc 4.4.3。也不要用系统推荐的那个4.4.7。

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top