--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CANFXxYRVHETSG31idJw_9oQKJaP1mtjkruuar1M0NRAfT51acw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CACh75bOoQL_ZNS19QxaUnXpxxqKKkW13jPa5CdiUe5au3cbPjg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CANFXxYTpfSGDK4n3PXRnN32WAjeKK2Dv%3DBL-GBahDbBNhUm2jQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CANFXxYTp6uW6C%3DEBmY8FncTc5U4k8E%2B0%2BUEkxC01CqPpZjAXAQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CAO_Opx7-TPJVaJbDpJnONy_NosFO7K4WxHK2ruYi6TU1KbMrkQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/f352e802-0bcd-45a4-bd21-f72b5cfba1cen%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CAMfSBK%2B2LaKzx%3DmLzFEO-1so1yQuC2kzgGYqQmbkPt-a%2BCOq9g%40mail.gmail.com.
You mention a few times in this thread that you see
OutOfMemoryErrors in the logs. To me, this suggests that your heap
is not large enough and/or there is a memory leak somewhere. This
is probably the cause of long stop-the-world cycles as the GC is
continually scouring memory to free up enough for what it needs
but can't cause it is near full. You can confirm that by turning
on some GC logging or connecting JVisualVM/JConsole to it and
watch heap allocation over time.
I didn't see in your config settings below that you are using G1GC but you may have added that later.
Good luck!
--joe
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/c7f2aebd-1d8b-4c80-a424-daea5f2607ccn%40googlegroups.com.
-Lookups
-Unmerged query results
-Per-segment and per-column information
Very large lookups can use a lot of heap. Complex queries covering a large interval can use require a lot of heap.
Typically, the last of these is not a big factor, as druid stores maybe a few KB per segment and a few hundred bytes per segment-column in memory. However, if you have a lot of segments or very many columns per segment, this can add up. For example, with 100k segments and 1,000 columns per segment, you'd need about ~10GB of heap for this alone.
If you are encountering OOMs, you will need to figure out where they are happening; there should be clues in the stack trace. But, most likely, you will need to increase the heap available to the historical process.
Thanks,
Max
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/31deb3b7-e376-dc95-4be5-03b6d46cc363%40magnite.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/31deb3b7-e376-dc95-4be5-03b6d46cc363%40magnite.com.