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

1 visualizzazione (ultimi 30 giorni)
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 Commenti
arun
arun il 10 Ott 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Parallel for-Loops (parfor) in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by