What do all these errors mean and is there anything that I can do to prevent/fix this

3 views (last 30 days)
While working in Matlab and running various code I have been getting errors at random times. The errors sometimes appear even while I am working in an editor and have not run any code recently. The errors do not seem to interfere with functionality most of the time but I'm not sure what they mean or if they are indicitive or a larger underlying problem. Any help would be greatly appreciated. Thank you.
This is an example of the errors I have been receiving
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead limit exceeded
at sun.java2d.SunGraphics2D.clone(Unknown Source)
at sun.java2d.SunGraphics2D.create(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.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(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.paintChildren(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.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.LinkedList.listIterator(Unknown Source)
at java.util.AbstractList.listIterator(Unknown Source)
at java.util.AbstractSequentialList.iterator(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(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.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 "Thread-1664" java.lang.OutOfMemoryError: GC overhead limit exceeded
at org.apache.lucene.search.BooleanScorer2.<init>(BooleanScorer2.java:30)
at org.apache.lucene.search.BooleanQuery$BooleanWeight2.scorer(BooleanQuery.java:313)
at org.apache.lucene.search.BooleanQuery$BooleanWeight2.scorer(BooleanQuery.java:319)
at org.apache.lucene.search.BooleanQuery$BooleanWeight2.scorer(BooleanQuery.java:319)
at org.apache.lucene.search.BooleanQuery$BooleanWeight2.scorer(BooleanQuery.java:319)
at org.apache.lucene.search.BooleanQuery$BooleanWeight2.scorer(BooleanQuery.java:319)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:129)
at org.apache.lucene.search.MultiSearcher.search(MultiSearcher.java:248)
at org.apache.lucene.search.Searcher.search(Searcher.java:116)
at org.apache.lucene.search.Searcher.search(Searcher.java:95)
at com.mathworks.mlwidgets.help.search.lucene.LuceneDocSearchEngine.doSearch(LuceneDocSearchEngine.java:181)
at com.mathworks.mlwidgets.help.search.lucene.LuceneDocSearchEngine.synchronousSearch(LuceneDocSearchEngine.java:107)
at com.mathworks.mlwidgets.help.search.SearchUtils.findReferencePages(SearchUtils.java:56)
at com.mathworks.mlwidgets.help.HelpInfo.getAllReferencePageUrls(HelpInfo.java:724)
at com.mathworks.mlwidgets.help.HelpInfo.getReferencePageUrl(HelpInfo.java:697)
at com.mathworks.mlwidgets.help.HelpInfo.getReferencePageUrl(HelpInfo.java:744)
at com.mathworks.mde.functionhints.MFunctionCall.getSignatureString(MFunctionCall.java:484)
at com.mathworks.mde.functionhints.MFunctionCall.createSignatureString(MFunctionCall.java:228)
at com.mathworks.mde.functionhints.QueuedMatlabWorker$2.run(QueuedMatlabWorker.java:278)
at java.lang.Thread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead limit exceeded
at com.mathworks.mlwidgets.explorer.util.UiFileSystemUtils$NameTokenizer.nextToken(UiFileSystemUtils.java:282)
at com.mathworks.mlwidgets.explorer.util.UiFileSystemUtils.compareFileNamesForDisplay(UiFileSystemUtils.java:232)
at com.mathworks.mlwidgets.explorer.model.table.NameColumn$3.compare(NameColumn.java:109)
at com.mathworks.mlwidgets.explorer.model.table.NameColumn$3.compare(NameColumn.java:106)
at com.mathworks.widgets.grouptable.GroupingTableConfiguration$5.compare(GroupingTableConfiguration.java:1017)
at com.mathworks.widgets.grouptable.GroupingTableUtils$3.compare(GroupingTableUtils.java:280)
at com.mathworks.widgets.grouptable.GroupingTableUtils$3.compare(GroupingTableUtils.java:271)
at java.util.Arrays.mergeSort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at java.util.Collections.sort(Unknown Source)
at com.mathworks.widgets.grouptable.GroupingTableUtils.sortNonRecursively(GroupingTableUtils.java:261)
at com.mathworks.widgets.grouptable.GroupingTableModel.ungroupOrRegroupRootLevelRows(GroupingTableModel.java:467)
at com.mathworks.widgets.grouptable.GroupingTableModel.access$900(GroupingTableModel.java:27)
at com.mathworks.widgets.grouptable.GroupingTableModel$7.commitRows(GroupingTableModel.java:436)
at com.mathworks.widgets.grouptable.RowListTransactionTarget.finishTransaction(RowListTransactionTarget.java:115)
at com.mathworks.widgets.grouptable.GroupingTableTransaction$1.run(GroupingTableTransaction.java:113)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
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 limit exceeded
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "RequestQueue for GenericFileList" java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead limit exceeded
  1 Comment
Matt Fig
Matt Fig on 9 Aug 2012
What version are you using? When I use r2007b I get things like this sometimes. It is odd.
It might even happen when I have had MATLAB open for a few days but not used it! I come back to it and the window is full of red, even though I haven't touched it. It has something to do with Java. I don't worry about it, just clear all,clc and go.

Sign in to comment.

Accepted Answer

Nirmal
Nirmal on 9 Aug 2012

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!