The activation that grows is the score tensor, B⋅H⋅T2 numbers per layer. It's the only cost with H in it.
At H=12 and T=1024 that's 12,582,912 numbers per sequence: 48 MiB in fp32, or 24 MiB in bf16. That's sixteen times the 786,432 numbers in x.
For the backward pass, autograd keeps the softmax output, one tensor that size. Next to it sit a few B⋅T⋅C tensors: x, q, k, v and the merged heads.