How to change MediumBlockBinsPerGroup...

  • 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

  • Pierre le Riche

    Pierre le Riche - 2011-12-01

    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,


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks