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

1 次查看(过去 30 天)
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 个评论
arun
arun 2013-10-10
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Parallel for-Loops (parfor) 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by