Having a problem with MATLAB. Java exceptions

5 次查看(过去 30 天)
Hello,
My 2019a MATLAB is running so low lately and I keep getting these java error.
'Exception in thread "Explorer NavigationContext request queue": java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.HashMap.resize(HashMap.java:704)
at java.util.HashMap.putVal(HashMap.java:629)
at java.util.HashMap.put(HashMap.java:612)
at java.util.HashSet.add(HashSet.java:220)
at java.util.AbstractCollection.addAll(AbstractCollection.java:344)
at java.util.HashSet.<init>(HashSet.java:120)
at com.mathworks.mlwidgets.explorer.model.editorfs.EditorFileSystem.getCompleteSetOfFilesAndFolders(EditorFileSystem.java:311)
at com.mathworks.mlwidgets.explorer.model.editorfs.EditorFileSystem.exists(EditorFileSystem.java:130)
at com.mathworks.mlwidgets.explorer.model.overlayfs.OverlayFileSystem.toExternalEntry(OverlayFileSystem.java:110)
at com.mathworks.mlwidgets.explorer.model.overlayfs.OverlayFileList$1.convert(OverlayFileList.java:91)
at com.mathworks.mlwidgets.explorer.model.overlayfs.OverlayFileList$1.convert(OverlayFileList.java:87)
at com.mathworks.util.AsyncReceiverUtils$3.receive(AsyncReceiverUtils.java:76)
at com.mathworks.mlwidgets.explorer.model.realfs.StatToEntryAdapter.receive(StatToEntryAdapter.java:40)
at com.mathworks.cfbutils.NativeCfb.listFiles(Native Method)
at com.mathworks.mlwidgets.explorer.model.realfs.RealFileList.readFilesAndFolders(RealFileList.java:47)
at com.mathworks.mlwidgets.explorer.model.overlayfs.OverlayFileList.readFilesAndFolders(OverlayFileList.java:52)
at com.mathworks.mlwidgets.explorer.model.vfs.VirtualFileList.readFilesAndFolders(VirtualFileList.java:57)
at com.mathworks.mlwidgets.explorer.model.table.UiFileList.readAndUpdateCache(UiFileList.java:364)
at com.mathworks.mlwidgets.explorer.model.table.UiFileList.access$500(UiFileList.java:45)
at com.mathworks.mlwidgets.explorer.model.table.UiFileList$6.run(UiFileList.java:325)
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:748)'
Any ideas how to fix this?
Thanks in advance :)

采纳的回答

wallflower
wallflower 2020-11-19
Hey, so I ended up finding the solution. I'm answering it for other people.
Open MATLAB, go to Home >Preferences>General then choose None instead of Enable MathWorks Source Control Integration and voilà!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call Java from MATLAB 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by