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

16 次查看(过去 30 天)
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 !

采纳的回答

Mhamad Hantro
Mhamad Hantro 2022-10-13
编辑:Mhamad Hantro 2022-10-13
A summary for the answer posted by @Walter Roberson is that the solution for windows can be found on the link below:

更多回答(1 个)

Torsten
Torsten 2022-10-12
  10 个评论
Mhamad Hantro
Mhamad Hantro 2022-10-13
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 2022-10-13
编辑:Mhamad Hantro 2022-10-13
@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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by