mirror of https://github.com/apache/lucene.git
LUCENE-8599: Add hasNoValue bitset to ramBytesUsed calculation
This commit is contained in:
parent
ade7546ad2
commit
61e448666d
|
@ -487,7 +487,7 @@ abstract class DocValuesFieldUpdates implements Accountable {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public long ramBytesUsed() {
|
public long ramBytesUsed() {
|
||||||
return super.ramBytesUsed() + bitSet.ramBytesUsed();
|
return super.ramBytesUsed() + bitSet.ramBytesUsed() + (hasNoValue == null ? 0 : hasNoValue.ramBytesUsed());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue