- On the "Home" tab, in the "Environment" section, click "Preferences". Select "MATLAB" > "General" > "Java Heap Memory".
- Select a value using the slider or spin box.
- Click "Ok".
- Restart MATLAB.
MATLAB error when PC idle: render process terminated: null
39 次查看(过去 30 天)
显示 更早的评论
I am getting following error when I kept MATLAB idle for long hours (No codes running, overnight). I am using 2021a version (academic license). I am not sure this error is interfering anywhere while runnning codes or simulink.
render process terminated: null
java.lang.NoSuchFieldError: TS_PROCESS_OOM
0 个评论
回答(1 个)
ag
2024-7-9
Hi Praveen,
The error you are encountering seems to be sporadic and may be caused by MATLAB running out of memory.
To address this issue, I recommend increasing the allocated heap size for MATLAB. To do so, please follow these steps:
For more details, kindly refer to the following MathWorks documentation page:
Java Heap Memory Preferences - https://www.mathworks.com/help/releases/R2021a/matlab/matlab_external/java-heap-memory-preferences.html
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!