Use the new DocIdSet.ramBytesUsed.