How can I increase the Java heap space in Dare?

29 views
Skip to first unread message

Martin Georgiev

unread,
Oct 13, 2013, 11:11:53 PM10/13/13
to dare-a...@googlegroups.com
Hello,

I am trying to decompile an app and I get: "java.lang.OutOfMemoryError: Java heap space" error. Normally, I would use the -Xmx argument to increase the heap space Java uses, but I don't know where to put in in this set up. I am running Dare on Mac OS. Any suggestions how I could fix the issue would be appreciated!

Thanks!

Best,
        Martin

Dalvik Retargeting (Dare)

unread,
Oct 14, 2013, 8:19:55 PM10/14/13
to dare-a...@googlegroups.com
Hello Martin,

The upcoming version of Dare supports JVM options (the code for that is already public on Github). In the meantime, you have several options. The first one is to still use Dare for the retargeting to .class files, without the -o and -c command line flags. Then you can manually apply a decompiler to these .class files. The second (and probably easiest) option is to change the default Java heap size, as described at http://stackoverflow.com/questions/880855/increase-the-java-heap-size-permanently

Best,
Damien Octeau


--
You received this message because you are subscribed to the Google Groups "dare" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dare-android...@googlegroups.com.
To post to this group, send email to dare-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dare-android/1c15fc22-64f8-41cf-adff-36a122dcc2eb%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages