bupticybee / TexasSolver

🚀 A very efficient Texas Holdem GTO solver :spades::hearts::clubs::diamonds:
https://bupticybee.github.io/texassolver_page
GNU Affero General Public License v3.0
1.65k stars 295 forks source link

Takes significantly more memory with a smaller pot? #174

Open xKumei opened 11 months ago

xKumei commented 11 months ago

Howdy! Made an account to write this. :)

A lot of my games have a pot and stack of something like 8 and 96. But when I build a tree with those parameters, is causes the memory usage to be over 40 Gb and my computer can't handle it.

But if I raise the pot to be like 50 with a stack of 100 the memory goes down to less than 2 Gb. So my question is how do I get it to run with a smaller pot size relative to stacks? Thank you.

bupticybee commented 11 months ago
  1. You can reduce bet sizes numbers, bet sizes numbers make memry grow exponentially. Or at least reduce them in turn and river.
  2. Or just use smaller spr (stack/pot) make it even a little smaller would help.
  3. delete some elements in range, smaller range means smaller memory.