render process terminated: null java.lang.NoSuchFieldError: TS_PROCESS_OOM
320 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Shivani
2023-6-1
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 个评论
Yue
2024-4-2
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
另请参阅
类别
在 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!