I loaded a trial version of Matlab and after a few hours of training I was editing code in the Live Editor. I was running the code which involved computing an array of 1000x240 elements. I was running slowly and displaying lots of what appear to be correct results. It seems to update the display after every element! After several minutes everything disappeared. I don't want to start over. Is there a file where Matlab has been saving the status of the Live Editor that I may be able to recover?
I did see the following error message in the Command Window. I think it says it ran out of memory. My Windows 64 machine has 64GB of memory.
render process terminated: null
java.lang.NoSuchFieldError: TS_PROCESS_OOM

댓글 수: 10

Walter Roberson
Walter Roberson 2020년 8월 7일
Preferences -> General -> Java Heap Memory might have helped with Java running out of memory. (Note: you need to restart MATLAB after changing that preference.)
David Clark
David Clark 2020년 8월 7일
Walter, Thanks for your reply. I searched for an auto-save file, but could not find anything. I am not sure why auto-save was not saving anything since it took a few hours to write all the code.
I am also concerned that Matlab will crash rather than slow down because of memory. Sounds bizarre, especially on a machine with 64GB of memory and many TB of virtual memory. Something's wrong.
I am doing a trial so I will need to consider whether issues like this are a problem or not. So far, not so good.
Walter Roberson
Walter Roberson 2020년 8월 7일
TS_PROCESS_OOM appears to be associated With Chromium Embedded Framework (3), CEF3, and is generated when a process is killed due to be Out Of Memory.
However, it is not clear to me what relationship Chromium would have to LiveScript .
If you had happened to use something built with the newer uifigure instead of the older "traditional" figures, then I could see the potential for Chromium to be involved.
Jinqi Liu
Jinqi Liu 2021년 8월 17일
i found same problem which shows java.lang.NoSuchFieldError: TS_PROCESS_OOM. However, my machine is set 16G (Java Heap Memory) as Walter's suggestion. It is still not working. Is their any other suggestions for me?
Jinqi Liu
Jinqi Liu 2021년 8월 17일
이동: Dyuman Joshi 2023년 12월 12일
Hi David, have you solved this problem? I think I also encountered a similar problem. The above error still occurs after enlarge the java memory.
S Ch
S Ch 2022년 11월 16일
I have the same problem and I don't have the folder in Temp :/ Anyone can help please ?
Nick Patterson
Nick Patterson 2023년 1월 31일
편집: Walter Roberson 2023년 1월 31일
I'm having this same problem. I have ample memory every time it crashes, with MATLAB consuming no where near my limits.
It crashes on me when I'm not even running anything; I'll just be scrolling through a file and bam, 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).
Walter Roberson
Walter Roberson 2023년 1월 31일
You need to report that to Mathworks Support.
Nicole009
Nicole009 2023년 12월 12일
편집: Nicole009 2023년 12월 12일
@Nick Patterson same, running R2023a. I have my MATLAB java heap set to 7988 MB (the max it'll let me set it to). System RAM is currently 64 GB, but I've got another 64 MB I'll soon install for 128 GB. I get this error frequently
render preocess terminated: null
java.lang.NoSuchFieldError: TS_PROCESS_OOM
when working with Live Scrips, which is pretty much always now. Any fixes out there??
The .mlx files have become increasingly buggier run-to-run; so much so that I'm considering going back to .m files. I do like the visual interface of the .mlx though so I'm trying my best to make it work. Just like you, I just hit it scrolling through the live script, not even running it (but I get it running it too). Plots also seem to pop out sometims but not other times, but that's for a separate thread.

댓글을 달려면 로그인하십시오.

답변 (1개)

Alejandro González
Alejandro González 2023년 6월 30일

0 개 추천

Its too late, but I found a simple solution that could helped others:
https://es.mathworks.com/matlabcentral/answers/1706520-how-do-i-recover-a-previous-matlab-live-editor-mlx-file-version-that-went-lost#answer_1265338

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

태그

질문:

2020년 8월 7일

이동:

2023년 12월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by