MATLAB error when PC idle: render process terminated: null

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

Answers (1)

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:
  1. On the "Home" tab, in the "Environment" section, click "Preferences". Select "MATLAB" > "General" > "Java Heap Memory".
  2. Select a value using the slider or spin box.
  3. Click "Ok".
  4. Restart MATLAB.
For more details, kindly refer to the following MathWorks documentation page:
Hope this helps!

Categories

Products

Release

R2021a

Tags

Answered:

ag
on 9 Jul 2024

Community Treasure Hunt

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

Start Hunting!