How many instances of MATLAB can I run simultaneously on Windows/Linux platform ?

52 次查看(过去 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 CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by