public long ramBytesUsed() {long ramBytesUsed = postingsReader.ramBytesUsed();for (TermsReader r : fields.values()) {ramBytesUsed += r.ramBytesUsed();}return ramBytesUsed;}
public override long RamBytesUsed(){long sizeInByes = ((postingsReader != null) ? postingsReader.RamBytesUsed() : 0);foreach (FieldReader reader in fields.Values){sizeInByes += reader.RamBytesUsed();}return sizeInByes;}