Error when training Reinforcement Learning Agent: java.lang.NoSuchFieldError: TS_PROCESS_OOM
12 views (last 30 days)
Show older comments
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 Comments
Nick Patterson
on 31 Jan 2023
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.
Answers (0)
See Also
Categories
Find more on Image Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!