Matlab - program freezes because of sudden high resource processing without running script

☆樱花仙子☆ 提交于 2019-12-25 06:44:27

问题


I'm running Matlab R2015b on my mac with OSX 10.11 El Captain. When starting Matlab, changing the directory in file explorer or when saving a file / running an unsaved file. A yellow processing box appears in the bottom left and Matlab consumes more and more resources. When the process is not canceled Matlab uses more than 400% CPU (low memory usage) and does not react for about 10 minutes or even more. Most times there is no feedback what happend - Today I got following error after start up and the "processing" stuff:

Exception in thread "Explorer NavigationContext request queue" java.lang.OutOfMemoryError: GC overhead limit exceeded
    at java.lang.String.substring(String.java:1913)
    at java.util.StringTokenizer.nextToken(StringTokenizer.java:352)
    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.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:358)
    at com.mathworks.mlwidgets.explorer.model.table.UiFileList.access$500(UiFileList.java:43)
    at com.mathworks.mlwidgets.explorer.model.table.UiFileList$6.run(UiFileList.java:323)
    at com.mathworks.util.RequestQueue.execute(RequestQueue.java:129)
    at com.mathworks.util.RequestQueue.access$000(RequestQueue.java:25)
    at com.mathworks.util.RequestQueue$2.run(RequestQueue.java:79)
    at java.lang.Thread.run(Thread.java:745)

来源:https://stackoverflow.com/questions/35457243/matlab-program-freezes-because-of-sudden-high-resource-processing-without-runn

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!