training for reinforcement learning stop with report TS_PROCESS_OOM
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
The matlab version I use is 2021a. When I train the model I designed, the system will terminate after running for a period of time and display the following error:
render process terminated: null
java.lang.NoSuchFieldError: TS_PROCESS_OOM
render process terminated: null
java.lang.NoSuchFieldError: TS_PROCESS_OOM
This resulted in my model only being trained about ten times. I have tried to increase the memory of java to 16G (Java Heap Memory) : This operation comes from Walter. You can find the specific operation from the following URL. https://www.mathworks.com/matlabcentral/answers/576397-recover-live-editor-code
My machine detail is
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/713992/image.png)
This is a serve with windows server 2019 system, 64G memory, and 1TB storage.
My training works for another Simulink model and the failed model is only big and more complex than the previous one. Can someone help to solve this problem?
2 Commenti
Jim Fox
il 1 Lug 2022
i have the same problem, but for me the training goes on for a few hundred epochs before i get the error. any help?
Risposte (1)
Gayathri
il 3 Feb 2025 alle 6:48
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!
0 Commenti
Vedere anche
Categorie
Scopri di più su Interactive Model Editing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!