How to set a RAM limit, so that if it gets passed, the simulation gets killed?

16 visualizzazioni (ultimi 30 giorni)
Hello,
I just want to know if there's a way to set a memory limit for MATLAB, so that it doesn't get too high on memory and crashes the computer or the server.
Thank you !

Risposta accettata

Mhamad Hantro
Mhamad Hantro il 13 Ott 2022
Modificato: Mhamad Hantro il 13 Ott 2022
A summary for the answer posted by @Walter Roberson is that the solution for windows can be found on the link below:

Più risposte (1)

Torsten
Torsten il 12 Ott 2022
  10 Commenti
Mhamad Hantro
Mhamad Hantro il 13 Ott 2022
I did some quick search and found this answer posted last year, which redirected me to the same link you've sent, which apparently means that there's still no official tool from Microsoft to this yet.
I will try the third-party tools,
Thank you all !
Mhamad Hantro
Mhamad Hantro il 13 Ott 2022
Modificato: Mhamad Hantro il 13 Ott 2022
@Walter Roberson If you can post your reply as an answer so that I accept it and delete the answer I posted now, the solution was given by you afterall.

Accedi per commentare.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by