parfor: exceed memory
Show older comments
Hi all,
It seems that my problem is an old one and many people have faced it, but I still have not fixed problem yet so hope to get help here.
My problem is that: I ran a program (complex, including many functions) on the lab cluster and used 25gb of memory. If I use "for" loop I did not see any problem, but when I used "parfor" I soon received a message says that the required memory is exceeded than 25gb I arranged.
I made a search on this problem and know some thing that it is likely due to data cloning problem but I did not see a good suggestion how to fix it.
Can anyone suggest me a good solution?
Thank you in advance.
Accepted Answer
More Answers (0)
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!