chandransalem / odata4j

Automatically exported from code.google.com/p/odata4j
0 stars 0 forks source link

java.lang.OutOfMemoryError: GC overhead limit exceeded error #284

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Added odata4j-0.7.0-bundle.jar as a library in android studio
2.Try to run the program on android studio

What is the expected output? What do you see instead?
Crashes on gradle build with these errors

UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: GC overhead limit exceeded
at com.android.dx.util.IntList.<init>(IntList.java:87)
at com.android.dx.ssa.SsaMethod.indexListFromLabelList(SsaMethod.java:157)
at com.android.dx.ssa.SsaBasicBlock.newFromRop(SsaBasicBlock.java:164)
at com.android.dx.ssa.SsaMethod.convertRopToSsaBlocks(SsaMethod.java:173)
at com.android.dx.ssa.SsaMethod.newFromRopMethod(SsaMethod.java:103)
at com.android.dx.ssa.SsaConverter.convertToSsaMethod(SsaConverter.java:44)
at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:98)
at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:72)
at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:297)
at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:137)
at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:93)
at com.android.dx.command.dexer.Main.processClass(Main.java:729)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:673)
at com.android.dx.command.dexer.Main.access$300(Main.java:83)
at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:602)
at 
com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284
)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
at com.android.dx.command.dexer.Main.processOne(Main.java:632)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:510)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:280)
at com.android.dx.command.dexer.Main.run(Main.java:246)
at com.android.dx.command.dexer.Main.main(Main.java:215)
at com.android.dx.command.Main.main(Main.java:106)

What version of the product are you using? On what operating system?
odata4j=0.7.0-bundle.jar. windows 7

Please provide any additional information below.
I know it is the library issue because once I removed the odata4j library the 
program works again. I have even commented out everything that uses this 
library but just having it in my library folder is causing errors

Original issue reported on code.google.com by peterhyu...@gmail.com on 16 Mar 2015 at 1:54