Filter löschen
Filter löschen

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

52 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

Emiliano Rosso
Emiliano Rosso am 4 Apr. 2023
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.

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 4 Apr. 2023
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.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by