periodic gc call removed (very slow with some million objects), 33% faster dump info collecting

This commit is contained in:
honfika
2014-06-29 19:34:44 +02:00
parent 1b13ac5cd4
commit a3c4fae495
8 changed files with 632 additions and 647 deletions
@@ -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[]{