Slackbot
02/17/2023, 5:24 PMGian Merlino
02/17/2023, 5:30 PMkhajjiar trip
02/17/2023, 5:31 PMGian Merlino
02/17/2023, 5:32 PM-Xmx16g in your historical jvm.config and druid.processing.numMergeBuffers = 4 in your historical runtime.properties?khajjiar trip
02/17/2023, 5:32 PMGian Merlino
02/17/2023, 5:44 PMGian Merlino
02/17/2023, 5:47 PMGian Merlino
02/17/2023, 5:47 PMGian Merlino
02/17/2023, 5:48 PM-Xmx16g and druid.processing.numMergeBuffers = 4?khajjiar trip
02/17/2023, 5:55 PM-Xms2g
-Xmx16g
-XX:MaxDirectMemorySize=14g
and historical/runtime.properties
druid.server.http.numThreads=60
druid.processing.buffer.sizeBytes=500MiB
druid.processing.numMergeBuffers=4
druid.processing.numThreads=15Gian Merlino
02/17/2023, 5:57 PMkhajjiar trip
02/17/2023, 6:01 PMkhajjiar trip
02/17/2023, 6:03 PMIan Roberts
02/17/2023, 6:13 PMIan Roberts
02/17/2023, 6:14 PMVadim
02/17/2023, 6:43 PMkhajjiar trip
02/17/2023, 6:58 PMIan Roberts
02/17/2023, 7:03 PMIan Roberts
02/17/2023, 7:04 PMkhajjiar trip
02/17/2023, 7:19 PM"memory": {
"maxMemory": 15271460864, ~15G Xmx
"totalMemory": 4903141376, ~4.9G
"freeMemory": 3141649328, ~3G
"usedMemory": 1761492048, ~1.7G
"directMemory": 15032385536~15G
}
seems like only 1.7G is being used and so if the dictionary mem is calculated as per this, it will indeed be way less.khajjiar trip
02/17/2023, 7:33 PM"memory": {
"maxMemory": 17015767040, 17G
"totalMemory": 17015767040, 17G
"freeMemory": 15408552704, 15G
"usedMemory": 1607214336, 1.6G
"directMemory": 15032385536 15G
}
Still the usage is 1.6G, so I guess I will have to setup "_maxMergingDictionarySize_" via config, which is kind of dicy. i should't set it to 300Mb but to 1Gb then. which will be the max it will ever get - MIN(30%heap, 1Gb)Ian Roberts
02/17/2023, 7:35 PMSergio Ferragut
02/17/2023, 8:34 PMGian Merlino
02/18/2023, 1:58 AMGian Merlino
02/18/2023, 1:58 AMGian Merlino
02/18/2023, 1:58 AMGian Merlino
02/18/2023, 1:58 AMGian Merlino
02/18/2023, 1:59 AMkhajjiar trip
02/18/2023, 6:29 AMGian Merlino
02/18/2023, 9:12 PM