How many instances of MATLAB can I run simultaneously on Windows/Linux platform ?
44 ビュー (過去 30 日間)
古いコメントを表示
I want to know how many instances of MATLAB can be opened on Windows or Linux platform. And how much of RAM is needed for single instance of MATLAB in Windows or Linux platform.
I have gone through the below link. So will the usage of RAM, be same or will change?
https://in.mathworks.com/matlabcentral/answers/92035-how-many-instances-of-matlab-can-i-run-simultaneously-from-a-solaris-server
0 件のコメント
採用された回答
Emiliano Rosso
2023 年 4 月 4 日
Normally you don't need to open different instances of Matlab but you can use the Parallel Computing Toolbox which runs instances in parallel only as much as is necessary. There are many alternatives depending on your needs, from parfor up to running independent processes on different workers in the background.
If instead you want to open independent sessions manually you have to consider that on an x64 Windows machine you will occupy about 2 Gb of ram for each execution, without considering the workload that depends on your code so it could be even much more. Core assignment is automatic and depends only on the drivers and not on Matlab, so everything happens at the lowest level as if you were opening 2 different programs in multitasking.
その他の回答 (1 件)
Walter Roberson
2023 年 4 月 4 日
On Linux the maximum number of MATLAB processes is 2^22 minus the number of other processes in use.
You are almost certain to run out of memory before you run out of processes.
In other words, MATLAB does not place a limit but your operating system does.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!