keras-team / keras-io

Keras documentation, hosted live at keras.io
Apache License 2.0
2.7k stars 2.01k forks source link

ctrtial error: memory leak in code examples #1483

Open githubWangHC opened 10 months ago

githubWangHC commented 10 months ago

when you run examples/rl/deep_q_network_breakout.py, you will find that the memory leak. even when the buff reach its max lenght (max_memory_length), memory still will increase.

sachinprasadhs commented 10 months ago

Hi,

Thanks for reporting the issue.

Could you please provide more details on your findings to support memory leak issue.

githubWangHC commented 10 months ago

when you run deep_q_network_breakout.py at beginning 10k steps, menory used may 30Gb, but 10 hours later, the memory used will almost 80Gb.

sachinprasadhs commented 10 months ago

@jacoblchapman , Would you be interested to take a look into this issue, it is related to the example authored by you https://github.com/keras-team/keras-io/blob/master/examples/rl/deep_q_network_breakout.py. Thanks!

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 180 days with no activity. It will be closed if no further activity occurs. Thank you.