필터 지우기
필터 지우기

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