BlockMemoryAllocator now can flush unused blocks