Fixed mem_cache allocator.