Please correct me if I'm wrong. It's not the allocation itself that is the problem it's that it will trigger the GC to stop the world at some point.