// account for the RowLocation size and class overhead
RowLocation rowLocation = locatedRow.rowLocation();
if ( rowLocation != null )
{
rowMem += locatedRow.rowLocation().estimateMemoryUsage();
rowMem += ClassSize.refSize;
}
// account for class overhead of the LocatedRow itself
rowMem += ClassSize.refSize;