training for reinforcement learning stop with report TS_PROCESS_OOM

17 visualizaciones (últimos 30 días)
Jinqi Liu
Jinqi Liu el 17 de Ag. de 2021
Respondida: Gayathri el 3 de Feb. de 2025
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
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 comentarios
Jim Fox
Jim Fox el 1 de Jul. de 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?

Iniciar sesión para comentar.

Respuestas (1)

Gayathri
Gayathri el 3 de Feb. de 2025
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!

Community Treasure Hunt

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

Start Hunting!

Translated by