vertx-mqtt
vertx-mqtt copied to clipboard
MQTT Server is taking more heap space, if we connected client with ssl enabled. By taking the heap dump, byte[] is taking 4 times more heap compare to ssl false. Is there anything we need to? I have tried this for 1L connections.
SSL FALSE | False instance Count | SSL TRUE | True instance Count | |
---|---|---|---|---|
int[] | 213 MB | 748 MB | ||
byte[] | 21 MB | 127764 | 3.45 GB | 8965812 |
object[] | 114 MB | 203 MB | ||
sun.security.ssl | 20 KB | 106 MB | ||
com.sun.crypto.provider | 143 B | 127 MB | ||
io.netty.channel | 136 MB | 170 MB |
have you tried to use boring ssl ? or open ssl