Error when training Reinforcement Learning Agent: java.lang.NoSuchFieldError: TS_PROCESS_OOM
5 次查看(过去 30 天)
显示 更早的评论
When training a RL agent, after about 2000 episodes I get the following error and training doesn't continue:
render process terminated: null
java.lang.NoSuchFieldError: TS_PROCESS_OOM
I tried increasing the java heap memory to max but it doesn't work.
Any other suggestions would be greatly appreciated.
4 个评论
Nick Patterson
2023-1-31
I get the same error, and I'm not even running anything! I'll be just viewing the source code of an m-file in the editor and MATLAB just kind of dies on me. I get the white editor (which cannot be recovered until I restart MATLAB) and the same error prints in my command window:
render process terminated: null
java.lang.NoSuchFieldError: TS_PROCESS_OOM
I have ample memory on my system and have about 50% of my memory free when this crash occurs, so I do not think it's actually a system memory issue. I think this is MATLAB internally mismanaging resources (at least for my flavor of this bug). Note that this occurs in the R2023a pre-release, and I had never experienced this bug on any previous version.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!