How to change MediumBlockBinsPerGroup...

Help
wenyue
2011-11-25
2013-05-23
  • wenyue
    wenyue
    2011-11-25

    I tried to change MediumBlockBinsPerGroup and MediumBlockBinGroupCount,because I hope FastMM can manager more bigger block size.
    I changed MediumBlockBinsPerGroup and MediumBlockBinGroupCount to 128 from 32
    and changed MediumBlockPoolSize to  50 * 20 * 64 * 1024… from 20*64*1024… //So the pool size is enough?

    But access error exception raised while I allocate "big" medium size block
    Any tips to me? thanks

     
  • Hi wenyue,

    Those constants cannot be changed. They are equal to the number of bits in a 32-bit register, for efficiency, and much of the code assumes that they are 32 (e.g. the bits that use the bsf/bsr instructions in the BASM codepath).

    Best regards,
    Pierre