While I run the lsqnonlin on linux, the matlab editor is closed and the message appears on terminal as 'Killed'

조회 수: 2 (최근 30일)
when I execute the code, the window shuts . there is killed message appears on the terminal.
the linux is ubuntu 22.04 LTS
here is the code
% Optimize the model
[x_sol,resnorm,residual,exitflag,output] = lsqnonlin(fun_, x0, [], [], ...
optimset('display','on'));
psrticularly when this line is executed, the ram executes at full memory and goes out of memory. and everything is crashed.
  댓글 수: 2
praguna manvi
praguna manvi 2025년 4월 15일
편집: praguna manvi 2025년 4월 15일
Can you share the entire script with "fun_" , "x0" and other variables.
Thomas Kuenzel
Thomas Kuenzel 2025년 4월 15일
Hi Arvind! I think it might be better to make a proper Technical Support Case for this, these MATLAB Answers sometimes fly under the radar, while tech support cases are properly assigned and worked until solved. Especially when some debugging of crashes is involved. You can do this on the website (https://www.mathworks.com/support/contact_us.html) or directly from a MATLAB session (HOME >> Resources >> Feedback)

댓글을 달려면 로그인하십시오.

답변 (1개)

Steven Lord
Steven Lord 2025년 4월 15일
the ram executes at full memory and goes out of memory. and everything is crashed.
That sounds like MATLAB got killed by the Out-of-Memory Killer. This page on IBM's website has a general description of the OOM Killer.
How large a problem are you trying to solve and how much memory does your system have?

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by