Why use more memory?


As shown in the figure above, hivemq uses 4.4G of memory,but I set Xmx to 1g, why?This problem has bothered me for a long time. I don’t know what caused it.
the following figure shows my startup parameters.

 -Xms1g -Xmx1g -XX:MaxDirectMemorySize=1g 

I’m using the latest version: