Having a problem with MATLAB. Java exceptions

5 visualizaciones (últimos 30 días)
wallflower
wallflower el 19 de Nov. de 2020
Respondida: wallflower el 19 de Nov. de 2020
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 :)

Respuesta aceptada

wallflower
wallflower el 19 de Nov. de 2020
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à!

Más respuestas (0)

Categorías

Más información sobre Call Java from MATLAB en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by