Account translog location to ram usage in version map
This commit accounts a translog location's ram usage in version map.
This commit is contained in:
parent
a28c0d2271
commit
955709b3f3
|
@ -37,7 +37,7 @@ final class IndexVersionValue extends VersionValue {
|
|||
|
||||
@Override
|
||||
public long ramBytesUsed() {
|
||||
return RAM_BYTES_USED;
|
||||
return RAM_BYTES_USED + RamUsageEstimator.shallowSizeOf(translogLocation);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue