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

조회 수: 3 (최근 30일)
Chris
Chris 2012년 3월 28일
댓글: arun 2013년 10월 10일
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