fedden/poker_ai

OOM when do cluster work

hzwudi2014 opened this issue · 2 comments

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

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.

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