Error when training Reinforcement Learning Agent: java.lang.NoSuchFieldError: TS_PROCESS_OOM
显示 更早的评论
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 个评论
Esha Chakraborty
2022-2-23
Hi Charissa,
Are you using a Live Script while training your RL agent?
Clara Kowalczyk
2022-7-19
I have the same error, and yes I use a Live Script. Can you help me?
Si Zhao
2022-8-26
Hi, did you ever solve this problem?
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 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Reinforcement Learning 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!