Bad version or endian-key in MATLAB parfor?

前端 未结 2 1300
终归单人心
终归单人心 2021-01-12 00:10

I am doing parallel computations with MATALB parfor. The code structure looks pretty much like

%%% assess fitness %%%
% save communication overh         


        
2条回答
  •  情书的邮戳
    2021-01-12 00:36

    After working a while on my own similar code block, I've decided that this is actually a memory issue.

    I'm using a 6 core 4GHz CPU and 8 gigs of RAM and seen this issue (on MATLAB 2014b) when I set the worker count high, and did not have any problems with low worker counts.

    When I use 6 or more workers (which is not ideal I know), memory consumption is high and this error message pops out sporadically. Also I have seen various out of memory errors in my tests.

    I havent seen the error when I use 5 or less workers thus far, and I'm pretty sure some memory limit (possibly inside a java code block) is causing this issue by preventing some of the results' integrity (or existance)

    Hope you can resolve this issue by reducing the worker count.

提交回复
热议问题