Android Question [RESOLVED] Compiler Error

Discussion in 'Android Questions' started by magi6162, May 27, 2015.

  1. magi6162

    magi6162 Well-Known Member Licensed User

    B4a 3.82
    Suddenly:

    Parsing code. 0.84
    Running custom action. 0.48
    Compiling code. 1.34
    Compiling layouts code. 0.26
    Generating R file. 0.56
    Compiling generated Java code. 7.56
    Convert byte code - optimized dex. Error
    UNEXPECTED TOP-LEVEL ERROR:
    java.lang.OutOfMemoryError: Java heap space
    at com.android.dx.cf.code.ExecutionStack.<init>(ExecutionStack.java:55)
    at com.android.dx.cf.code.ExecutionStack.copy(ExecutionStack.java:66)
    at com.android.dx.cf.code.Frame.makeExceptionHandlerStartFrame(Frame.java:397)
    at com.android.dx.cf.code.Ropper.processBlock(Ropper.java:827)
    at com.android.dx.cf.code.Ropper.doit(Ropper.java:653)
    at com.android.dx.cf.code.Ropper.convert(Ropper.java:266)
    at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:282)
    at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:139)
    at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:94)
    at com.android.dx.command.dexer.Main.processClass(Main.java:682)
    at com.android.dx.command.dexer.Main.processFileBytes(Main.java:634)
    at com.android.dx.command.dexer.Main.access$600(Main.java:78)
    at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:572)
    at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:170)
    at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
    at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
    at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
    at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
    at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
    at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
    at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
    at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
    at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
    at com.android.dx.command.dexer.Main.processOne(Main.java:596)
    at com.android.dx.command.dexer.Main.processAllFiles(Main.java:498)
    at com.android.dx.command.dexer.Main.runMonoDex(Main.java:264)
    at com.android.dx.command.dexer.Main.run(Main.java:230)
    at com.android.dx.command.dexer.Main.main(Main.java:199)
    at com.android.dx.command.Main.main(Main.java:103)
    Optimized dexer failed. Switching to Standard dexer.

    Help me please.
     
  2. hogiebaer

    hogiebaer Active Member Licensed User

    Last edited: May 27, 2015
  3. magi6162

    magi6162 Well-Known Member Licensed User

    RESOLVED::)
    in .ini
    MaxRamForDex=512
    To:
    MaxRamForDex=1024

    thank you
     
    DonManfred likes this.
  4. magi6162

    magi6162 Well-Known Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice