What does Druid Broker Loves most - RAM or Heap or New Gen Or Per Gen?

Hi,

I am trying to do a load test on Broker and it is crashing because of memory constraints.

Fine.

Now, I went ahead to figure out which memory should I tweak, Should it Heap Size or New Gen or RAM . Where does Broker create or need memory when the query comes in.

We happen to see lot of GC in New Generation also.

Need Help in this. Thanks in advance.

Thanks,

Pravesh Gupta