weizijun commented on PR #14527: URL: https://github.com/apache/lucene/pull/14527#issuecomment-2853389550
hi, @benwtrent, I updated the ramBytesUsed method, the memory is correct now. > Please also adjust the inner arrays to enforce their maximal length. This way we never over-allocate. I use the maxSize variable to ensure that the elementsCount of the array cannot exceed the maxSize value. -- 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]
