Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Chris
Chris le 28 Mar 2012
Commenté : arun le 10 Oct 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 commentaires
arun
arun le 10 Oct 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.
arun
arun le 10 Oct 2013

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Parallel for-Loops (parfor) dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by