Closed weissjeffm closed 11 years ago
Ah this explains it. But still, I wonder if loading a 40mb result file should really run us out of heap space. Might be worth attaching jvisualvm and seeing what exactly is eating all that memory.
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2367) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130) at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:587) at java.lang.StringBuilder.append(StringBuilder.java:214) at clojure.core$slurp.doInvoke(core.clj:6131) at clojure.lang.RestFn.invoke(RestFn.java:410) at test.tree.runner$open_results.invoke(runner.clj:386) at test.tree.runner$start_gui$fn39035.invoke(runner.clj:463) at seesaw.event$fire.invoke(event.clj:262) at seesaw.event$eval35632$fn$reify35634.actionPerformed(event.clj:289) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicMenuItemUI.java:943) at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:585) at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:482) at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:428) at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:321) at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:859) at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2434) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2326) at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2284) at java.awt.Component.dispatchEventImpl(Component.java:4757) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
It looks like it doesn't even finish loading the file via slurp. So that would most likely mean there was <40mb of heap space left when the load began.
Open the runner, then File -> Open Results. Then open the file located here http://hudson.rhq.lab.eng.bos.redhat.com:8080/hudson/job/katello-gui/16/artifact/report.clj
The CPU goes up for a while, but then nothing else happens. The UI remains the same as before.