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

採用された回答

Emiliano Rosso
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
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.

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

製品


リリース

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by