How much memory is my logical array using?

I faced a similar problem months ago and spent a day using all bits instead of partial usage of 32/64-bit chunks. The end result was effectively slightly slower.