Hello,
My application was going OK, then I had more Modules, more Layouts, when I finished adding what I wanted, I tried to compile and this error starts to appear and I can't compile this any more, anyone can help me out pls ?, thanks in advance.
My appz has:
- 272 Module Files
- 1.021 items including pictures + layout files on the "Files" directory
- The entire project folder has 57 MB of files
Is there any limitation in the project structure before starting to give this error?
I have 4GB of ram, available now it's: 1819MB
Help needed to keep me on this project pls.
Thanks in advance,
Joel
My application was going OK, then I had more Modules, more Layouts, when I finished adding what I wanted, I tried to compile and this error starts to appear and I can't compile this any more, anyone can help me out pls ?, thanks in advance.
B4X:
Compiling code. 3.84
Generating R file. 0.00
Compiling generated Java code. 26.37
Convert byte code - optimized dex. Error
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: Java heap space
at com.android.dx.util.Bits.makeBitSet(Bits.java:38)
at com.android.dx.util.BitIntSet.<init>(BitIntSet.java:35)
at com.android.dx.ssa.SetFactory.makeDomFrontSet(SetFactory.java:66)
at com.android.dx.ssa.DomFront.run(DomFront.java:107)
at com.android.dx.ssa.SsaConverter.placePhiFunctions(SsaConverter.java:298)
at com.android.dx.ssa.SsaConverter.convertToSsaMethod(SsaConverter.java:52)
at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:99)
at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:73)
at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:269)
at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:131)
at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:85)
at com.android.dx.command.dexer.Main.processClass(Main.java:369)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:346)
at com.android.dx.command.dexer.Main.access$400(Main.java:59)
at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:294)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:134)
at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:190)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:122)
at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:190)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:122)
at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:190)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:122)
at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:190)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:122)
at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:190)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:122)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)
at com.android.dx.command.dexer.Main.processOne(Main.java:313)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:233)
at com.android.dx.command.dexer.Main.run(Main.java:185)
at com.android.dx.command.dexer.Main.main(Main.java:166)
at com.android.dx.command.Main.main(Main.java:90)
Standard dexer.
My appz has:
- 272 Module Files
- 1.021 items including pictures + layout files on the "Files" directory
- The entire project folder has 57 MB of files
Is there any limitation in the project structure before starting to give this error?
I have 4GB of ram, available now it's: 1819MB
Help needed to keep me on this project pls.
Thanks in advance,
Joel