nfsantos commented on code in PR #1202: URL: https://github.com/apache/jackrabbit-oak/pull/1202#discussion_r1394187958
########## oak-run-commons/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/flatfile/pipelined/PipelinedStrategy.java: ########## @@ -276,21 +276,19 @@ public PipelinedStrategy(MongoDocumentStore documentStore, ); this.mongoDocQueueSize = mongoDocQueueReservedMemoryMB / mongoDocBatchMaxSizeMB; - // Transform threads <-> merge-sort + // Derived values for transform <-> sort-save + int nseWorkingMemoryMB = readNSEBuffersReservedMemory(); this.nseBuffersCount = 1 + numberOfTransformThreads; - - long nseBuffersReservedMemoryBytes = nseBuffersReservedMemoryMB * FileUtils.ONE_MB; + long nseWorkingMemoryBytes = nseWorkingMemoryMB * FileUtils.ONE_MB; Review Comment: ok, I added the explicit cast. -- 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: dev-unsubscr...@jackrabbit.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org