sudden increase of ram and get an out of memory error while i training reinforcement learning agent.
5 次查看(过去 30 天)
显示 更早的评论
(It is no use to increase the page file size and increase RAM from 32GB to 64GB.)
I use matlab r2020b in Windows 10 and the gpu is 2080ti, ram is 64GB.
i created a simulink environment and import this using rlSimulinkEnv function .
I used matlab function blocks to calculate the observation and rewards in a simulink, and is this why the memory increase?
(also The larger the experience buffer length, the later the memory growth occurs.
If experience buffer length =1e3, the episode goes around 100 times and stops, raise it to 1e7, the episode goes around 1,900 times and stops.)
actor and critic structure is as follows. I use gpu with parallel computing toolbox. (There is the same error when I training with a cpu.)
4 个评论
Guru Bhargava Khandavalli
2020-12-20
Hello, I have a similar issue. But my code runs properly with cpu. It also runs without problems when using gpu without parpool. Where can the issue be?
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!