Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.6.0
-
None
Description
flushStore() contains a check on the amount of memory allocated and if it is > 3 * blockSize it logs a warning. If blockSize is large enough, e.g. 1GiB then 3 * blockSize will overflow and be negative causing the warning to always be logged.
if (store.allocatedSize() > 3 * blockSize) { LOG.warn("Too much memory used: " + store.memUsageString()); }