This message was deleted.
# general
s
This message was deleted.
j
Direct memory is still ram.
s
In our set up we have 8gb ram , giving mm process (128mb heap and 1gb direct memory )and spinning 5 peon tasks with ( 512mb heap and 4gb direct memory each) how does it work . does mm not use full direct memory at a time?
b
I’d suggest that you review https://druid.apache.org/docs/latest/operations/basic-cluster-tuning.html#direct-memory-sizing . You will have Direct Memory for both Historicals and MMs
Direct memory is not pre-allocated and is used when peons are created for ingestion /compaction
g
also note that in Druid 25 (the latest release) you can start druid via the
bin/start-druid
script and it will automatically determine reasonable configs given the available resources on the server