mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 12:00:45 +00:00
periodic gc call removed (very slow with some million objects), 33% faster dump info collecting
This commit is contained in:
@@ -900,7 +900,7 @@ public class Action implements GraphSourceItem {
|
||||
} catch (OutOfMemoryError | TranslateException | StackOverflowError ex2) {
|
||||
Logger.getLogger(Action.class.getName()).log(Level.SEVERE, "Decompilation error in: " + path, ex2);
|
||||
if (ex2 instanceof OutOfMemoryError) {
|
||||
System.gc();
|
||||
Helper.freeMem();
|
||||
}
|
||||
out = new ArrayList<>();
|
||||
out.add(new CommentItem(new String[]{
|
||||
|
||||
Reference in New Issue
Block a user