ring buffer alloc count