GSam / dex2jar

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

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. dex2jar-0.0.9.13/d2j-dex2jar.bat SCleaner+Pro.apk

What is the expected output? What do you see instead?

dex2jar SCleaner+Pro.apk -> SCleaner+Pro-dex2jar.jar
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at java.util.HashSet.<init>(HashSet.java:142)
        at com.googlecode.dex2jar.ir.ts.ZeroTransformer$ZeroAnalyzePhi.<init>(ZeroTransformer.java:53)
        at com.googlecode.dex2jar.ir.ts.ZeroTransformer$ZeroAnalyze.newPhi(ZeroTransformer.java:68)
        at com.googlecode.dex2jar.ir.ts.BaseLiveAnalyze$1.merge(BaseLiveAnalyze.java:213)
        at com.googlecode.dex2jar.ir.ts.BaseLiveAnalyze$1.merge(BaseLiveAnalyze.java:1)
        at com.googlecode.dex2jar.ir.ts.Cfg.Forward(Cfg.java:278)
        at com.googlecode.dex2jar.ir.ts.BaseLiveAnalyze.analyze0(BaseLiveAnalyze.java:156)
        at com.googlecode.dex2jar.ir.ts.BaseLiveAnalyze.analyze(BaseLiveAnalyze.java:64)
        at com.googlecode.dex2jar.ir.ts.ZeroTransformer.transform(ZeroTransformer.java:162)
        at com.googlecode.dex2jar.v3.V3MethodAdapter.visitEnd(V3MethodAdapter.java:222)
        at com.googlecode.dex2jar.v3.V3ClassAdapter$2.visitEnd(V3ClassAdapter.java:317)
        at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReader.java:698)
        at com.googlecode.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:443)
        at com.googlecode.dex2jar.reader.DexFileReader.accept(DexFileReader.java:330)
        at com.googlecode.dex2jar.v3.Dex2jar.doTranslate(Dex2jar.java:84)
        at com.googlecode.dex2jar.v3.Dex2jar.to(Dex2jar.java:239)
        at com.googlecode.dex2jar.v3.Dex2jar.to(Dex2jar.java:230)
        at com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:109)
        at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:168)
        at com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:34)

What version of the product are you using? On what operating system?
dex2jar-0.0.9.13, win-7-x64, java 1.7.0_11

Please upload the file which cause the issue if possible.
http://rghost.ru/43761180

Please provide any additional information below.
dex2jar.bat -> java -Xms2048m -Xmx4096m -cp "%CLASSPATH%" 
"com.googlecode.dex2jar.v3.Main" %*

Original issue reported on code.google.com by Fri...@gmail.com on 13 Feb 2013 at 8:10

GoogleCodeExporter commented 9 years ago
I also got out of memory exception but in a different location.
1.dex2jar-0.0.9.13/d2j-dex2jar.sh

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at java.lang.String.toCharArray(Unknown Source)
        at org.objectweb.asm.Type.getType(Unknown Source)
        at com.googlecode.dex2jar.v3.V3ClassAdapter.searchEnclosing(V3ClassAdapter.java:179)
        at com.googlecode.dex2jar.v3.V3ClassAdapter.build(V3ClassAdapter.java:130)
        at com.googlecode.dex2jar.v3.V3ClassAdapter.visitField(V3ClassAdapter.java:303)
        at com.googlecode.dex2jar.reader.DexFileReader.acceptField(DexFileReader.java:603)
        at com.googlecode.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:439)
        at com.googlecode.dex2jar.reader.DexFileReader.accept(DexFileReader.java:330)
        at com.googlecode.dex2jar.v3.Dex2jar.doTranslate(Dex2jar.java:84)
        at com.googlecode.dex2jar.v3.Dex2jar.to(Dex2jar.java:239)
        at com.googlecode.dex2jar.v3.Dex2jar.to(Dex2jar.java:230)
        at com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:109)
        at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:168)
        at com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:34)

Original comment by strongba...@gmail.com on 15 Feb 2013 at 8:03