-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.5.0] Decompiling fails with Procyon for big files - and line alignment does not work. #104
Comments
How much heap space is allowed in your Eclipse? May be the new Eclipse version simply requires more RAM and thus for ECD/Procyon the remaining heap is too small for such a large file? In |
Hi, I have eclipse with the following: Before opening the issue I also tried with Xmx 4096 but the result was the same. The stack is the following (inside an ENTRY showing "Editor could not be initialized."):
|
The code the stack trace is referring to is creating a As you mentioned it is a large file and Eclipse is simply running out of RAM. If you work with such large files please increase the |
Not sure what can cause such problems on Procyon. Can you share the classes you want to decompile? |
Hi, |
Hi, |
Line number realignment: I have a PR open to fix Procyon "stretch lines" option mstrobel/procyon#60 that is used by ECD. I also have a fork of ECD that uses Procyon with "stretch lines" set to false and lets ECD realign the code. Big file: Try and open it with Luyten or decompile with Procyon command line. This way you'll know if the issue comes form Procyon or ECD. |
Hi, I'll try your fork, thanks. |
Important In eclipse.ini file, make below entries |
Definitely not -XX:MaxPermSize=1024m. Removed since Java 8. |
You are absolutely right. In my case I used it for backwards compatibility with Java 7. And it worked. |
Hi,
Since latest version (3.5.0), I get "java.lang.OutOfMemoryError: Java heap space" when trying to decompile big Java files with Procyon. The file is around 12 000 lines once decompiled.
When I try to decompile with the other ones, it works... But line alignment does not and therefore debugging is impossible.
In previous version (3.3.0 I think, I had it in a previous version of eclipse, before the problems that occurred in #103) everything worked well.
Thanks.
The text was updated successfully, but these errors were encountered: