- 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
41 views (last 30 days)
Show older comments
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 Comments
Answers (1)
ag
on 9 Jul 2024
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 Comments
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!