Azzera filtri
Azzera filtri

render process terminated: null java.lang.​NoSuchFiel​dError: TS_PROCESS_OOM

385 visualizzazioni (ultimi 30 giorni)
I have trouble for a few days about running optimization tools in live script. When I'm running the choosen file; I'll just be scrolling through a seems run for a whole day and bam, at the and of the day all-white editor with the following printed in the command window:
render process terminated: null
java.lang.NoSuchFieldError: TS_PROCESS_OOM
At this point, I'm forced to restart MATLAB to continue working. This seems to happen 1-3 times per day, and my memory usage for the whole computer never exceeds 50% of my available memory. So, it's not a memory limitation on the system (but it could be that MATLAB is doing a poor job using the available memory).
I have this problem in both matlab app and online version. Before a few days ago I have not such problems running things in live script.

Risposte (1)

Shivani
Shivani il 1 Giu 2023
Hi Selin,
This error message usually indicates that the process has run out of memory and is not able to allocate more. This may not necessarily be referring to your system’s memory. The amount of memory allocated for the Java heap memory in MATLAB may have been insufficient for the current process. You can go to Preferences -> MATLAB -> General -> Java Heap Memory and increase the allocated memory to prevent the JAVA process from running out of memory. Please note that you will have to restart your system after changing this setting.
You can look at the MATLAB threads attached below to gain more insights regarding this and on how to recover any Livescript that you may have lost due to the crash:
You can read up on the documentation attached below if you are facing any issue while updating the JAVA heap memory size:
Hope this helps!
  2 Commenti
Selin Ertunan
Selin Ertunan il 5 Giu 2023
Thank you for your support. I have a MATLAB license through my institution. They suggested I remove and reinstall MATLAB and it worked.
Yue
Yue il 2 Apr 2024
Hi Selin,
I am facing the same problem! which version of MATLAB did you reinstall? Were there any changes needed to make during the reinstallization?
Best,
Yue

Accedi per commentare.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by