fedden / poker_ai

🤖 An Open Source Texas Hold'em AI
Other
1.34k stars 359 forks source link

OOM when do cluster work #165

Open hzwudi2014 opened 5 months ago

hzwudi2014 commented 5 months ago

OS: ubuntu Memory: 32GB CPU:13900k

poker_ai cluster --low_card_rank=10 --high_card_rank=14 --n_river_clusters=10 --n_turn_clusters=10 --n_flop_clusters=50 and got process killed due to OOM

hzwudi2014 commented 5 months ago

I opened Virual Memory with my 990prossd on windows and solved this. still, I print the Card object memory usage which is 52 bytes, I think it's too big, and tons of improvement can be done.

huynq55 commented 5 months ago

Hi @hzwudi2014. Do you intend to extend the deck to 52 cards?