I am trying to use the suggested formula for computing memory for segmentation, but it gets to negative.
Druid memory maps segments.
memory_for_segments = total_memory - heap_size - (processing.buffer.sizeBytes * (processing.numThreads+1)) - JVM overhead (~1G)
The greater the memory/disk ratio, the better performance you should see
VM size: 48 GB RAM, 8 cores cpu
Historicalprocess: -Xms6g -Xmx6g -XX:MaxDirectMemorySize=12g
Can you please help here?