When gravity becomes important, all of this breaks down. Gravity puts an upper limit on the amount of entropy we can squeeze into a box, given by the largest black hole that can fit in the box. But the entropy of a black hole isn’t proportional to the volume enclosed—it’s proportional to the area of the event horizon.

