CE 2.23 consumes lots of many especially if the class contains many methods. It probably does too many data coping in the GUI.
I tried using CE to view com\sun\tools\javac\comp\Attr.class, which can be found in JDK\lib\tools.jar, it ran out of memory even if I used x64 JDK with 5G of RAM.
C:\Users\samn\Desktop\ce2.23>"c:\Program Files\Java\jdk1.6.0_23\bin\java.exe" -Xmx5000m -Xms5000m -jar ce.jar
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2734)
at java.util.Vector.ensureCapacityHelper(Vector.java:226)
at java.util.Vector.addElement(Vector.java:573)
at java.util.Stack.push(Stack.java:50)
at classfile.Utils.getReadableMethodDesc(Unknown Source)
at guihelper.MethodTableModel.extractConstPoolInfo(Unknown Source)
at guihelper.MethodTableModel.<init>(Unknown Source)
at gui.MethodsPropPane.refresh(Unknown Source)
at gui.ClassEditor.updateTab(Unknown Source)
at gui.ClassEditor.jTabbedPane1StateChanged(Unknown Source)
at gui.ClassEditor.access$1100(Unknown Source)
at gui.ClassEditor$12.stateChanged(Unknown Source)
at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:400)
at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:253)
at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:599)
at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:574)
at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mousePressed(BasicTabbedPaneUI.java:3628)
at java.awt.Component.processMouseEvent(Component.java:6264)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6032)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4235)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Sample test case
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Sorry forgot to mention, after open the file, click to "Methods", then it will throw OOM exception.