Sasilekha opened a new pull request, #16406: URL: https://github.com/apache/lucene/pull/16406
Addresses #16405 PointInSetQuery retains two byte[] fields (lowerPoint, upperPoint) allocated in its constructor but its cached ramBytesUsed sums only field & sortedPackedPoints where both arrays are missing ramBytesUsed = BASE_RAM_BYTES + RamUsageEstimator.sizeOfObject(field) + RamUsageEstimator.sizeOfObject(sortedPackedPoints) Every non-empty query built via LongPoint.newSetQuery, IntPoint.newSetQuery, FloatPoint.newSetQuery etc therefore underreports its footprint to LRUQueryCache causing cached entries to stay resident longer than maxRamBytesUsed intends to -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
