Strange limits on Parallel RAM Usage by Compiled Standalone
古いコメントを表示
I have a MATLAB-compiled standalone .exe on a desktop with 20 cores and 32GB RAM. Because of the ample resources of the desktop, I tried to launch several instances of the .exe in parallel. I find that any more than 2 instances running in parallel will crash with memory allocation error messages. However, each instance on its own consumes no more than 4 GB RAM according to the Windows Task Manager. With 32GB RAM total, I reason that 4 instances should easily be able to run side-by-side.
Any theories as to why I am limited to so few instances when I have so much RAM to spare?
5 件のコメント
dpb
2014 年 8 月 15 日
Are these independent images or is there any shared memory/parallelism going on between processes?
dpb
2014 年 8 月 15 日
Computations, though??? Any sort of problem during startup with contention for these common files? Are you checking that there's not a lock on the file when reading it in the app? What if you make copies for each to be sure--do symptoms change?
dpb
2014 年 8 月 16 日
I don't know, either -- simply wondering if might help uncover what's going on if symptoms were to change is all...
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!