Matlab GUI run very slow when so much attribute put inside of it

2 次查看(过去 30 天)
Hi all..
Recently i am designing an application that contain so many pop up menu, editable text, static text and axes. whenever i tried to RUN it or SAVE it the GUI has performed very slow respond, although my laptop is running on i5 core with 8gb ram.
sometimes the error said:
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space at java.util.ResourceBundle.getBundleImpl(Unknown Source) at java.util.ResourceBundle.getBundle(Unknown Source) at com.jidesoft.grid.GridResource.getResourceBundle(Unknown Source) at com.jidesoft.grid.PropertyPane.getResourceString(Unknown Source) at com.jidesoft.grid.PropertyPane.resetDescription(Unknown Source) at com.jidesoft.grid.PropertyPane.valueChanged(Unknown Source) at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source) at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source) at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(Unknown Source) at javax.swing.JTable.clearSelectionAndLeadAnchor(Unknown Source) at javax.swing.JTable.tableChanged(Unknown Source) at com.jidesoft.grid.JideTable.tableChanged(Unknown Source) at com.jidesoft.grid.CellSpanTable.tableChanged(Unknown Source) at com.jidesoft.grid.TreeTable.tableChanged(Unknown Source) at javax.swing.table.AbstractTableModel.fireTableChanged(Unknown Source) at javax.swing.table.AbstractTableModel.fireTableDataChanged(Unknown Source) at com.mathworks.mlwidgets.inspector.PropertyRootNode$1$1.run(PropertyRootNode.java:367) 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 "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead limit exceeded Exception in thread "Timer-1" java.lang.OutOfMemoryError: GC overhead limit exceeded
any suggestion on how to handle this problem?? thanks

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by