Matlab hangs frequently while working .

11 Ansichten (letzte 30 Tage)
Rohit Sheth
Rohit Sheth am 10 Feb. 2017
I face the following error, I have no idea how to solve it.
Exception in thread "qtp567939837-95" Exception in thread "AWT-EventQueue-0" Exception in thread "Explorer NavigationContext request queue" java.lang.OutOfMemoryError: Java heap space at javax.swing.KeyboardManager.unregisterKeyStroke(Unknown Source) at javax.swing.JComponent.unregisterWithKeyboardManager(Unknown Source) at javax.swing.JComponent.registerWithKeyboardManager(Unknown Source) at javax.swing.JComponent.componentInputMapChanged(Unknown Source) at javax.swing.ComponentInputMap.clear(Unknown Source) at javax.swing.plaf.basic.BasicRootPaneUI.updateDefaultButtonBindings(Unknown Source) at javax.swing.plaf.basic.BasicRootPaneUI.propertyChange(Unknown Source) at java.beans.PropertyChangeSupport.fire(Unknown Source) at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) at java.awt.Component.firePropertyChange(Unknown Source) at javax.swing.JRootPane.setDefaultButton(Unknown Source) at javax.swing.plaf.basic.BasicOptionPaneUI$2.hierarchyChanged(Unknown Source) at java.awt.Component.processHierarchyEvent(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.Component.createHierarchyEvents(Unknown Source) at java.awt.Container.createHierarchyEvents(Unknown Source) at java.awt.Container.createHierarchyEvents(Unknown Source) at java.awt.Container.addImpl(Unknown Source) at java.awt.Container.add(Unknown Source) at javax.swing.plaf.basic.BasicOptionPaneUI.installComponents(Unknown Source) at javax.swing.plaf.basic.BasicOptionPaneUI$Handler.propertyChange(Unknown Source) at java.beans.PropertyChangeSupport.fire(Unknown Source) at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source) at java.awt.Component.firePropertyChange(Unknown Source) at javax.swing.JOptionPane.setMessage(Unknown Source) at com.mathworks.mde.desk.MLDesktopShutdownHelper$5$1.actionPerformed(MLDesktopShutdownHelper.java:345) java.lang.OutOfMemoryError: Java heap space at java.lang.String.substring(Unknown Source) at java.util.StringTokenizer.nextToken(Unknown Source) at com.mathworks.matlab.api.explorer.FileLocation.getTokens(FileLocation.java:268) at com.mathworks.matlab.api.explorer.FileLocation.getParent(FileLocation.java:123) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.resolveLocation(VirtualFileSystem.java:285) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.getTarget(VirtualFileSystem.java:276) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.resolveLocation(VirtualFileSystem.java:285) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.getTarget(VirtualFileSystem.java:276) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.resolveLocation(VirtualFileSystem.java:285) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.getTarget(VirtualFileSystem.java:276) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.resolveLocation(VirtualFileSystem.java:285) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.getTarget(VirtualFileSystem.java:276) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.resolveLocation(VirtualFileSystem.java:285) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.getTarget(VirtualFileSystem.java:276) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.resolveLocation(VirtualFileSystem.java:285) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.getTarget(VirtualFileSystem.java:276) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.resolveLocation(VirtualFileSystem.java:285) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.getTarget(VirtualFileSystem.java:276) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.isMountPoint(VirtualFileSystem.java:239) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.toExternalEntry(VirtualFileSystem.java:324) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileSystem.toExternalEntry(VirtualFileSystem.java:319) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileList$MountingReceiver.receive(VirtualFileList.java:101) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileList$MountingReceiver.receive(VirtualFileList.java:90) at com.mathworks.util.AsyncReceiverUtils$3.receive(AsyncReceiverUtils.java:77) at com.mathworks.mlwidgets.explorer.model.realfs.StatToEntryAdapter.receive(StatToEntryAdapter.java:55) at com.mathworks.mlwidgets.explorer.model.realfs.StatToEntryAdapter.receive(StatToEntryAdapter.java:16) at com.mathworks.util.NativeJava.listFiles(Native Method) at com.mathworks.mlwidgets.explorer.model.realfs.RealFileList.readFilesAndFolders(RealFileList.java:50) at com.mathworks.mlwidgets.explorer.model.overlayfs.OverlayFileList.readFilesAndFolders(OverlayFileList.java:42) at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileList.readFilesAndFolders(VirtualFileList.java:52) at com.mathworks.mlwidgets.explorer.model.table.UiFileList.readAndUpdateCache(UiFileList.java:357) at com.mathworks.mlwidgets.explorer.model.table.UiFileList.access$500(UiFileList.java:42) java.lang.OutOfMemoryError: Java heap space at java.util.HashMap.newKeyIterator(Unknown Source) at java.util.HashMap$KeySet.iterator(Unknown Source) at java.util.HashSet.iterator(Unknown Source) at sun.nio.ch.Util$2.iterator(Unknown Source) at org.eclipse.jetty.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:600) at org.eclipse.jetty.io.nio.SelectorManager$1.run(SelectorManager.java:290) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Unknown Source)
There seems to be a problem with my installation, I tried to fix it by reinstalling MATLAB but it did not help. This similar problem occurs even on MATLAB2015.
Currently using Matlab2016b on Lenevo z50-70 with 8GB RAM, and Nvidia GeForce 850M

Antworten (0)

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by