Slackbot
02/13/2023, 7:49 PMVijay Narayanan
02/14/2023, 2:43 AMYounes Naguib
02/14/2023, 3:15 AMGian Merlino
02/14/2023, 10:28 AMdruid.indexer.fork.property.druid.processing.buffer.sizeBytes will help; if you are out of direct memory then increasing buffer size will only increase the demands on buffer memory.
Looking at your settings, your current buffer size (134217728) and count (1) is not too big relative to your direct memory size (4g). So I would guess the direct memory is being used by column merging. You can read more about that here: https://apachedruidworkspace.slack.com/archives/C0309C9L90D/p1663951074038569?thread_ts=1663936671.637089&cid=C0309C9L90D
TLDR: if that's the issue, you can mitigate it in two ways:
1) Set maxColumnsToMerge using the guidelines from that thread I linked.
2) If this is batch ingest: Use MSQ / SQL based ingest instead of native batch ingest. It automatically tunes column merging to avoid running out of memory, so you don't need to worry about itYounes Naguib
02/14/2023, 11:44 AMYounes Naguib
02/14/2023, 1:18 PMYounes Naguib
02/14/2023, 4:27 PMGian Merlino
02/14/2023, 4:45 PMYounes Naguib
02/16/2023, 10:02 PM