Getting java.lang.​outofmemor​yerror:Jav​a heap Space 2011a 7.12.0

3 Ansichten (letzte 30 Tage)
Chris
Chris am 28 Mär. 2012
Kommentiert: arun am 10 Okt. 2013
The last few days I have been getting. My computer is an i7 with 16gb of memory
??? Error using ==> parallel_function at 598 The session that parfor is using has shut down
Error in ==> testv4 at 12 parfor j=(i+1):(numEq)
??? A read error occurred while reading from lab 4. This is causing: java.lang.OutOfMemoryError: Java heap space
Exception in thread "RequestQueue for GenericFileList" java.lang.OutOfMemoryError: Java heap space at java.lang.String.toLowerCase(Unknown Source) at java.io.Win32FileSystem.hashCode(Unknown Source) at java.io.File.hashCode(Unknown Source) at com.mathworks.matlab.api.explorer.FileLocation.hashCode(FileLocation.java:321) at java.util.HashMap.get(Unknown Source) at com.mathworks.mlwidgets.explorer.model.genericfs.GenericFileList$7$1.receive(GenericFileList.java:482) at com.mathworks.mlwidgets.explorer.model.genericfs.GenericFileList$7$1.receive(GenericFileList.java:479) at com.mathworks.mlwidgets.explorer.model.realfs.StatToEntryAdapter.receive(StatToEntryAdapter.java:44) at com.mathworks.mlwidgets.explorer.model.realfs.StatToEntryAdapter.receive(StatToEntryAdapter.java:14) at com.mathworks.util.NativeJava.listFiles(Native Method) at com.mathworks.mlwidgets.explorer.model.realfs.RealFileList.readFilesAndFolders(RealFileList.java:46) at com.mathworks.mlwidgets.explorer.model.genericfs.GenericFileList$7.run(GenericFileList.java:501) at com.mathworks.util.RequestQueue.execute(RequestQueue.java:87) at com.mathworks.util.RequestQueue.access$000(RequestQueue.java:22) at com.mathworks.util.RequestQueue$1.run(RequestQueue.java:58) at java.lang.Thread.run(Unknown Source)
  2 Kommentare
arun
arun am 10 Okt. 2013
Hi, Chris i am also getting such type of error. did you get any solution of this problem, if you have solution can you please post the solution, it will be useful for us.
Thanks.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Parallel for-Loops (parfor) 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