AR
06/03/2025, 5:54 AMAR
06/03/2025, 3:19 PMGian Merlino
06/03/2025, 10:36 PMXmx and MaxDirectMemorySize together do not exceed memory on the machine, even when they're at max size. If either of those two swap then performance is going to suffer greatly, so we recommend disabling swap rather than allowing swap to happen.
I don't have any experience with running Druid with swap enabled, so I am not sure if what you're seeing is normal or not. The main suggestion I have is that you could double check that you have the "correct" configuration with regard to Xmx and MaxDirectMemorySize. That should make it so the OS never "needs" to swap out JVM memoryAR
06/04/2025, 5:22 AMGian Merlino
06/04/2025, 6:44 AMAR
06/05/2025, 5:20 AMfree will show "Swap" as "0".
Is this understanding correct?
Thanks,
AR.Jimbo Slice
06/08/2025, 11:31 AMJimbo Slice
06/08/2025, 11:34 AM