cryptoe commented on code in PR #13271:
URL: https://github.com/apache/druid/pull/13271#discussion_r1012972745
##########
extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/indexing/IndexerWorkerContext.java:
##########
@@ -250,8 +242,8 @@ public FrameContext frameContext(QueryDefinition queryDef,
int stageNumber)
indexIO,
dataSegmentProvider,
WorkerMemoryParameters.compute(
- Runtime.getRuntime().maxMemory(),
- numWorkersInJvm,
+ computeAvailableHeapMemory(),
Review Comment:
I meant doing only the lookup sizing calculation on the controller but I see
why it can be misleading :).
Thanks for the fixes.
--
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]