GA3C icon indicating copy to clipboard operation
GA3C copied to clipboard

memory usage growth after a while

Open babak-badnava opened this issue 7 years ago • 4 comments

I have tested the code on GTX 1080 with 32g Ram but when I run the code memory usage increases over time and after about 30 hours it will take all 32g of ram and make system to dies

babak-badnava avatar Aug 12 '17 09:08 babak-badnava

Hi, can you provide some more details? Are you using the basic version of the algorithm with Pong? Automatic scheduling enabled? How many agents / trainers / predictors? Is the number of agents / training / predictor growing during training or does it stabilize? Thanks

ifrosio avatar Aug 14 '17 22:08 ifrosio

Hi, yes I do use the basic version with Breakout game and Dynamic setting is off and 32 agents running with 2 trainer threads and 2 predictor threads. all the settings are fixed during training but memory usage will growth. I think this may be because of tensorflow memory leak.

babak-badnava avatar Aug 15 '17 18:08 babak-badnava

Tensor flow version?

ifrosio avatar Aug 15 '17 18:08 ifrosio

tensorflow version 1.2.1 installing from binary cuda version 7.5

babak-badnava avatar Aug 15 '17 18:08 babak-badnava