OOM issues in Druid IngestSegment Firehose ingestion type

Hi team,

I am using IngestSegmentFirehose ingestion type to ingest data in druid using druid datasource itself (http://druid.io/docs/0.9.2/ingestion/firehose.html).

It works fine but I wanted to know how does it uses memory. Does it use Direct Memory or Heap or both? and how does it use that ?

I am facing OOM for direct memory(2G given) at times.

Can’t find any documentation about the memory usage/implementation for this. Would be really helpful if someone can guide me through,

Thanks and Regards

Abhishek Jain

Could you please post your re-indexing spec and runtime.properties.

It uses both but most of the data resides on DM as it used MappedByteBuffers.

Thanks.