Skip to content

Performance - Out Of Memory #642

Open
@fee1-dead

Description

@fee1-dead

I have seen many issues reporting the same issue. So I will open this and merge all the duplicates here.

There are two kinds of messages: Java heap space and GC overhead limit exceeded.

This could be resolved by increasing the heap space with -Xmx such as -Xmx6G, but in other cases, the jar attempted for deobfuscation could be very large and it could not be resolved.

Here are some possible solutions if that is the case.

  • Transform the classes with only one transformer every time
  • Split the jar file into many jars, only deobfuscating a part of the program while having other parts as libraries.
  • Avoid loading redundant classpath jars.
  • Use other tools (e.g. ProGuard)

Could also be related to JavaVM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions