Filter löschen
Filter löschen

Matlab 2014b crashing suddently when using a specific folder

3 Ansichten (letzte 30 Tage)
I've copied a folder of some code from one computer to another. And when I try to access it I get the following matlab error:
Exception in thread "FileDecorationCache request queue" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.io.ByteArrayOutputStream.toByteArray(Unknown Source)
at com.mathworks.mlwidgets.explorer.util.FileSystemUtils.readBytes(FileSystemUtils.java:482)
at com.mathworks.mlwidgets.explorer.util.FileSystemUtils.readText(FileSystemUtils.java:454)
at com.mathworks.mlwidgets.explorer.util.FileSystemUtils.readText(FileSystemUtils.java:442)
at com.mathworks.mlwidgets.explorer.extensions.matlab.MFileTypeFinder.findMFileType(MFileTypeFinder.java:32)
at com.mathworks.mlwidgets.explorer.extensions.matlab.MatlabCodeFileInfoProvider$1.run(MatlabCodeFileInfoProvider.java:67)
at com.mathworks.mlwidgets.explorer.model.FileDecorationModel$DeferHandler.run(FileDecorationModel.java:390)
at com.mathworks.mlwidgets.explorer.model.FileDecorationModel$2.get(FileDecorationModel.java:275)
at com.mathworks.mlwidgets.explorer.model.FileDecorationModel$1$2.run(FileDecorationModel.java:182)
at com.mathworks.mlwidgets.explorer.model.FileDecorationModel$3$1.run(FileDecorationModel.java:343)
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(Unknown Source)
>>
Following that matlab freezes. Why is that happening, what should I do? As long as I dont try to load anything, or even browse in that folder, matlab works fine. I'm using a win 7 - 64 bit machine, Matlab 2014b.
  2 Kommentare
James Tursa
James Tursa am 22 Mai 2015
Does this folder have a large number of files in it?
Dourado
Dourado am 29 Jun. 2015
I've had this issue on folders with a lot of files in it. Raise memory heap didn't solve. Do you have any clue of how to solve it?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 22 Mai 2015
Go into Preferences to the General section and increase Java Heap Memory there. Then restart MATLAB.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by