pythonlessons / RL-Bitcoin-trading-bot

Trying to create Reinforcement Learning powered Bitcoin trading bot
MIT License
383 stars 204 forks source link

Memory leak #5

Open hola-ai opened 3 years ago

hola-ai commented 3 years ago

Hello,

First, thank you so much for your source code.

But there is a memory leak issue when training,

The source stop at almost 2000th episode.

My PC has 32G RAM.

Below is the last part of messages

... episode: 2074 [000020] worker: 0 net worth: 1035202.66 average: 1177863.37 orders: 38 episode: 2075 [000020] worker: 5 net worth: 1458406.87 average: 1163223.70 orders: 10 episode: 2076 [000020] worker: 5 net worth: 467591.76 average: 1156877.23 orders: 1 unable to alloc 3840000 bytes

rrfaria commented 3 years ago

I have same issue .. it is consuming all memory is available I could not found the problem yet