Gautham Gowrishankar created TIKA-1429: ------------------------------------------
Summary: Unable to View a 9mb file even after setting a large Heap Size of 3GB while TIKA GUI Key: TIKA-1429 URL: https://issues.apache.org/jira/browse/TIKA-1429 Project: Tika Issue Type: Bug Components: gui Affects Versions: 1.6 Environment: Windows 8 Reporter: Gautham Gowrishankar Priority: Minor we seem to have found an issue while tika1.6 jar as a GUI (-g option),It seems to work for smaller .tsv files but we running into GC Overload Excpetion while running on of the files in your DataSet. Strangely it seems to work with -x option. There might be an issue with at org.apache.tika.gui.TikaGUI.openFile(TikaGUI.java:284). Just bringing it to your notice. Below are the logs. ============================================= Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead l imit exceeded at java.util.Arrays.copyOfRange(Unknown Source) at java.lang.String.<init>(Unknown Source) at java.lang.StringBuilder.toString(Unknown Source) at java.lang.StackTraceElement.toString(Unknown Source) at java.lang.String.valueOf(Unknown Source) at java.lang.StringBuilder.append(Unknown Source) at java.lang.Throwable.printStackTrace(Unknown Source) at java.lang.Throwable.printStackTrace(Unknown Source) at org.apache.tika.gui.TikaGUI.handleError(TikaGUI.java:351) at org.apache.tika.gui.TikaGUI.openFile(TikaGUI.java:284) at org.apache.tika.gui.TikaGUI.actionPerformed(TikaGUI.java:238) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead l imit exceeded at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour ce) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour ce) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour ce) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead l imit exceeded at java.lang.StringBuilder.toString(Unknown Source) at com.sun.java.swing.plaf.windows.TMSchema$Part.getControlName(Unknown Source) at com.sun.java.swing.plaf.windows.XPStyle.isSkinDefined(Unknown Source) at com.sun.java.swing.plaf.windows.WindowsMenuItemUI.isVistaPainting(Unk nown Source) at com.sun.java.swing.plaf.windows.WindowsMenuUI.paintBackground(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.paintMenuItem(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.paint(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.update(Unknown Source) at javax.swing.JComponent.paintComponent(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintToOffscreen(Unknown Source) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown S ource) at javax.swing.RepaintManager$PaintManager.paint(Unknown Source) at javax.swing.RepaintManager.paint(Unknown Source) at javax.swing.JComponent._paintImmediately(Unknown Source) at javax.swing.JComponent.paintImmediately(Unknown Source) at javax.swing.RepaintManager$4.run(Unknown Source) at javax.swing.RepaintManager$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour ce) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.access$1300(Unknown Source) at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$400(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead l imit exceeded Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead l imit exceeded -- This message was sent by Atlassian JIRA (v6.3.4#6332)